87. Suppose we have a byte-addressable computer with a cache that holds 8 blocks
ID: 3763270 • Letter: 8
Question
87. Suppose we have a byte-addressable computer with a cache that holds 8 blocks of 4 bytes each. Assuming that each memory address has 8 bits, to which cache block would the hexadecimal address 0x09 map if the computer uses direct mapping?
Answer: Block
88. Suppose we have a byte-addressable computer with a cache that holds 8 blocks of 4 bytes each. Assuming that each memory address has 8 bits, to which cache set would the hexadecimal address 0x1F map if the computer uses direct mapping?
Answer: Block
Explanation / Answer
87. Block 3
88. Block 8
As it is dirct map, each byte addressible memory would reside in one byte of the block sequentially. Hence according to the following table, answers to 87 and 88 are block 3 and block 8 respectively.
Block Byte-1 Byte-2 Byte-3 Byte-4 1 0 1 2 3 2 4 5 6 7 3 8 9 a b 4 c d e f 5 10 11 12 13 6 14 15 16 17 7 18 19 1a 1b 8 1c 1d 1e 1fRelated Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.