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

Explanation

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.

Report a problem

Answer checked How we write and check questions

Tip: press A, B, C or D to answer, and N for the next question.

Advertisement

Have a question about this answer?

Your email address will not be published. Required fields are marked *

Links and website addresses are not allowed in comments.