Consider the following statements:
$(i)$ Auto increment addressing mode is useful in creating self-relocating code.
$(ii)$ If auto increment addressing mode is included in an instruction set architecture, then an additional ALU is required for effective address calculation.
$(iii)$ In auto increment addressing mode, the amount of increment depends on the size of the data item accessed.
Which of the above statements is/are true?
Statement $(i)$ is false.
Self-relocating code is mainly supported by relative addressing, not by auto increment addressing.
Statement $(ii)$ is false.
Auto increment addressing does not necessarily require an additional ALU. The increment can be handled by the processor hardware.
Statement $(iii)$ is true.
In auto increment addressing mode, the register is incremented according to the size of the data item accessed.
For example, if byte is accessed, increment may be $1$. If word is accessed, increment may be more.
Therefore, only statement $(iii)$ is true.
Online Test Series, Information About Examination,
Syllabus, Notification
and More.
Online Test Series, Information About Examination,
Syllabus, Notification
and More.