Home » Computer Organization and Architecture » Computer organization and architecture miscellaneous » Question

Computer organization and architecture miscellaneous

Computer Organization and Architecture

  1. Which of the following is/are true of the auto-increment addressing mode?
    1. It is used in creating self-relocating code.
    2. If it is included in an Instruction Set Architecture, then an additional ALU is required for effective address calculation.
    3. The amount of increment depends on the size of the data item accessed.
    1. 1 only
    2. 2 only
    3. 3 only
    4. 2 and 3
Correct Option: C

For incrementing the data, the auto-increment addressing mode is used which purely depends on the size of the data. For example:
Regs [R1] ← Regs [R1] + Mem [Regs [R2]
Regs [R2] ← Regs [R2] + d



Your comments will be displayed only after manual approval.