ISRO | ISRO CS 2011 | Question 16
Consider a direct mapped cache with 64 blocks and a block size of 16 bytes. To what block number does the byte address 1206 map to
(A) does not map
Block size = 16 B Memory block number = Byte Address / Block size = 1206/16 = 75.3 The given byte address i.e. 1206 is a part of 75th block. Cache block number = (Memory block number) mod (number of blocks in cache) = 75 mod 64 = 11
Option (C) is correct.
Quiz of this Question