Which of the following is/are true of the auto-increment addressing mode? I.…
20092008
Which of the following is/are true of the auto-increment addressing mode? I. It is useful in creating self-relocating code II. If it is included in an Instruction Set Architecture, then an additional ALU is required for effective address calculation III. The amount of increment depends on the size of the data item accessed
- A.
I only
- B.
II only
- C.
III only
- D.
II and III only
Attempted by 128 students.
Show answer & explanation
Correct answer: C
Auto-increment addressing mode updates the address register after accessing memory. Statement I is false because self-relocating code relies on relative addressing, not auto-increment registers. Statement II is incorrect as address calculation uses standard ALU logic without needing dedicated additional hardware. Statement III is true because the increment value corresponds to the size of the data item accessed, such as a byte or word. Therefore, only Statement III is correct.
A video solution is available for this question — log in and enroll to watch it.