A microprogrammed control unit has a control memory of 2048 microinstructions. How many bits must the microprogram address (control address register) have?
Correct answer A. 11
Explanation
To address N words you need log2(N) bits, and 2^11 = 2048, so the control address register needs 11 bits. Ten bits would reach only 1024 microinstructions, and 12 bits would be wasteful, covering 4096. The same rule sizes the address field of any memory, whether it is the control store, a cache index or main memory.
Answer checked How we write and check questions
Discussion