A processor has 100 distinct instructions and 32 registers. A register-type instruction consists of an opcode and three register operands. What is the minimum number of bits needed for this instruction?
- A17
- B22
- C20
- D26
Correct answer: B
A processor has 100 distinct instructions and 32 registers. A register-type instruction consists of an opcode and three register operands. What is the minimum number of bits needed for this instruction?