1,429 views
1 votes
1 votes
Consider a computer system that has a cache with 512 blocks each of which can store 32 bytes.All addresses are byte addresses.Which Cache set will the memory address 0xFBFC map to if the cache is direct mapped

(a)1DC

(b)1CF

(c)DF1

(d)DAC

1 Answer

Best answer
4 votes
4 votes

direct mapping format

tag cache lines block size

now cache lines/blocks = 512==29

  bblock size = 32 = 25

and memory memory address is of 16 bits i.e

FBFC===>1111 1011 1111 1100

11(2bit) 111011111 (9 bit) 11100(5bit)

now we can see 9bit is the cache block number..

       1 1101 1111===> 1  D F===>(1DF)  is answer

none of above

selected by

Related questions

1 votes
1 votes
1 answer
2
gshivam63 asked Jun 14, 2016
978 views
For which register, the effective register (BX) EA=(DI) is (SI) a) relativ...
0 votes
0 votes
2 answers
3
sh!va asked Feb 7, 2017
4,093 views
I. A heap is always nearly complete tree.II. Worst case complexity of heapify operation is O( log n)III. Worst case complexity of build heap operation is O( n log n)a. I ...
1 votes
1 votes
0 answers
4
Akriti sood asked Jan 23, 2017
459 views
how is statement iv always true??