Questions about a Direct-Mapped Cache


Question II
Consider a direct-mapped cache with 256 blocks and the block size is 16 bytes (or 4 words). Compute the tag, index, and byte offset of the address: 01FFF8AC16. (Note that the figure is not the cache described. It is only for showing a cache structure.)  

Question III — Consider a cache with 32 blocks and a block size of 32 bytes. To what block number does the byte address 1600 map?

Answer:   Block number:        




      My wife apologized for the first time ever today!    
      She said she’s sorry she ever married me.