How can data be accessed? - Addressing modes
Register mode: the operand is stored in one of the registers.
Immediate (or literal) mode: the operand is a part of the instruction.
Direct (or absolute) mode: the address of the operand in memory is stored in the instruction.
Register indirect (or register deferred) mode: the address of the operand in memory is stored in one of the registers.
Autoincrement (or register indirect with postincrement) mode: like the register indirect, except that the content of the register is incremented after the use of the address.
- This mode offers automatic address increment useful in loops and in accessing byte, half-word, or word arrays of operands.
Autodecrement (register indirect with predecrement) mode: the content of the register is decremented and is then used as a register indirect address.
- This mode can be used to scan an array in the direction of decreasing indices.