Mod 21
Mod 21
Mod 21
Immediate mode
The operand is given explicitly in the instruction
The use of a constant in “MOVE #5,R1 ”,
i.e. R1 ← 5
Register mode
The operand is the content of a processor register
The name (address) of register is given in the instruction.
MOVE R1,R2
Addressing Modes
Direct
mode
The operand is in the memory location and the address of the
ADD (R1), R0
Addressing Modes
Indirect mode