Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

data tranfer size to RAM

1 view
Skip to first unread message

EECS Instructional Account

unread,
Aug 10, 2008, 3:28:21 AM8/10/08
to
if in the spec it says only block sizes of 2^2 bytes (1 word), 2^3 bytes
(2 words), 2^4 bytes (4 words), and 2^5 bytes (8 words)( are allowed in
terms of size transfer to and from memory, then why do they have
BYTE_SIZE and HALF_WORD_SIZE in the TransferUnit enum?

We would never use BYTE_SIZE and HALF_WORD_SIZE in our code right?

and if we are supposed to, then in what scenario?

[Instr] Albert Chae

unread,
Aug 10, 2008, 12:14:20 PM8/10/08
to
You're right, you can ignore BYTE_SIZE and HALF_WORD_SIZE. The reason
they are included is that there is a clever mapping between the value
of these enumerated values and something else that might make your
program easier to write...

Albert

0 new messages