190k views
1 vote
If we have 16 registers on the processor, how many bits will we need to specify the register index?

A. 5
B. 3
C. 2
D. 4
E. 1

User Yet
by
8.6k points

1 Answer

4 votes

Final answer:

To specify the register index of the 16 registers on the processor, we would need 4 bits.

Step-by-step explanation:

To specify the register index of the 16 registers on the processor, we would need 4 bits. This is because 2^4 = 16. Each bit can represent two states, 0 and 1, so with 4 bits, we can represent 16 different combinations, which is enough to cover all 16 registers.

User Zxdawn
by
8.7k points