Machine-translated by Google. Questions are authored in English.
Top

Discussion

In which addressing mode the contents of a register specified in the instruction are first decremented, and then these contents are used as the effective address of the operands?

  • A.index addressing
  • B.indirect addressing
  • C.auto increment
  • D.auto decrement

Answer: D

Correct answer: auto decrement

In auto-decrement addressing the register named in the instruction is first stepped back and only then used as the effective address. The order matters: decrement-then-use is what makes it the natural complement of auto-increment for pushing onto a stack that grows downwards.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.