GATE Computer ScienceVery hardGATE CS (PYQ pattern)

A microprogrammed control unit has 2048 microinstructions of 100 bits each, but only 300 of them are distinct. Using a two-level (nano-programmed) store, each of the 2048 micro-words holds just a pointer to the nanostore and the nanostore holds the 300 distinct 100-bit words. How many bits does the two-level scheme need in total?

  1. A. 48432
  2. B. 50480
  3. C. 204800
  4. D. 46384

Correct answer: A. 48432

Pointer width = ⌈log₂ 300⌉ = 9 bits: 2048·9 + 300·100 = 18,432 + 30,000 = 48,432 bits versus 204,800 for a single store. 8-bit pointers cannot address 300 entries.

More Computer Organization and Architecture questions

Exams that ask this topic