What is the addressing called that is used in an instruction of the form ADD X…
2023
What is the addressing called that is used in an instruction of the form ADD X Y?
- A.
Indirect
- B.
Index
- C.
Absolute
- D.
More than one of the above
- E.
None of the above
Attempted by 500 students.
Show answer & explanation
Correct answer: C
In an instruction of the form ADD X Y, X and Y are specified directly in the instruction as operands or operand addresses. When the operand address is present explicitly in the instruction address field, the addressing mode is called direct addressing or absolute addressing. It is not indirect addressing because no pointer to another address is used, and it is not index addressing because no index register or displacement is involved. Therefore, the correct answer is Absolute.