A computer uses an instruction code format with a total of 16 bits. The operation code (opcode) occupies 5 bits, and the remaining bits are used to specify…
A computer uses an instruction code format with a total of 16 bits. The operation code (opcode) occupies 5 bits, and the remaining bits are used to specify either:
One direct memory address, or
Two register addresses (each of equal length)
If the system supports 32 general-purpose registers, determine how many distinct instruction formats are possible in this computer.
Show answerHide answer
Correct answer: (B) 2