Which addressing mode forms the effective address by adding a constant displacement in the instruction to the contents of a register, making it well suited to array elements and structure fields?
Correct answer C. Base (displacement) or indexed addressing
Base plus displacement computes EA = register + constant, as in LW R1, 8(R2), so the register can hold the start of an array or record while the offset selects an element or field. Immediate mode supplies a value, not an address, and register direct takes the operand from the register itself. Index registers date back to 1950s machines for exactly this purpose.
Answer checked How we write and check questions
Discussion