Which addressing mode is especially convenient for stepping through an array or implementing a stack, because it updates the address register automatically after each access?

Correct answer B. Autoincrement or autodecrement addressing

Explanation

In autoincrement mode the register holds the operand's address and is then increased by the operand size, so a loop can walk an array without a separate add. Autodecrement does the reverse before access, which naturally implements PUSH on a downward-growing stack. Direct and immediate modes have fixed addresses or values. Such modes are typical of CISC machines like the PDP-11 and VAX.

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.