Difficulty: Easy
Correct Answer: auto decrement
Explanation:
Introduction / Context:
Addressing modes define how instructions locate operands. Pre and post modification addressing modes are common on many architectures because they combine address calculation with implicit updates to address registers, improving code density and performance for stack and array operations.
Given Data / Assumptions:
Concept / Approach:
Auto decrement addressing means the CPU subtracts an amount (often the operand size) from the register before forming the effective address. This is typical for pushing values onto a descending stack. Auto increment does the opposite, often used after reading to step through arrays.
Step-by-Step Solution:
Verification / Alternative check:
Many ISAs (for example, 68k, ARM with pre indexing) document pre decrement and pre increment forms explicitly and name the decrement form as auto decrement or pre-indexed decrement.
Why Other Options Are Wrong:
Common Pitfalls:
Final Answer:
auto decrement.
Discussion & Comments