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
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.
Answer checked How we write and check questions
Discussion