This instruction is of what type? Instruction ADD R1, A, B
2021
This instruction is of what type? Instruction ADD R1, A, B
- A.
Zero Address Instruction
- B.
Two Address Instruction
- C.
One Address Instruction
- D.
Three Address Instruction
Attempted by 422 students.
Show answer & explanation
Correct answer: D
To classify the instruction ADD R1, A, B, count the number of operands specified.
The instruction has three operands: R1 (destination), A (first source), and B (second source).
Instructions that specify three operands are known as three address instructions.
Therefore, this instruction is a three address instruction.