Addressing modes in computer architecture determine how instructions specify the operands they operate on. Let’s break down each addressing mode with simpler explanations and examples:
- Direct Addressing:
- Explanation: In direct addressing, the operand’s address is directly specified in the instruction.
- Example:
LOAD 500means load the value from memory address 500 into a register.

- Register Indirect Addressing:
- Explanation: The instruction contains the address of a register whose content is the effective address of the operand.
- Example:
LOAD (R1)means load the value from the memory address stored in register R1 into a register.

- Implied Addressing:
- Explanation: Operand is implied by the instruction itself, often used for operations where operands are known.
- Example:
INCREMENTwithout specifying any operand directly implies to increment the value in a specific register.

- Immediate Addressing:
- Explanation: The operand’s value is directly specified within the instruction.
- Example:
ADD #10means add the immediate value 10 to the content of a register.

- Indexed Addressing:
- Explanation: The effective address is generated by adding a constant value to the contents of a register (index).
- Example:
LOAD 600(R2)means load the value from memory address calculated by adding 600 to the content of register R2.

Discussion
Ask a question, share your thoughts or report an error.
Sign in to participate in the discussion.
Join the discussion