← Quiz: Instructions and Addressing Modes: all 10 questions
Quiz: Instructions and Addressing Modes · Question 3 of 10
A 32-bit instruction has two 6-bit register fields and a 12-bit immediate. How many opcodes are possible?
A 32-bit instruction has two 6-bit register fields and a 12-bit immediate. How many opcodes are possible?
- A.64
- B.128
- C.256
- D.4096
Answer & explanation
Correct answer: 256
Opcode bits = 32 − 6 − 6 − 12 = 8, so 2^8 = 256.
Can you get the rest right without peeking?
Take the timed Quiz: Instructions and Addressing Modes quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →