1. Immediate Addressing Mode
- In this mode 8/16 bit data is specified in instruction itself as one of its operand.
- Example
- MVI B 20H ; 20H is copied into register B.
- LXI D 1000H ; 1000H is stored into DE register pair.
2. Direct Addressing Mode
- In this mode 8/16 bit address is directly specified in instruction itself as one of its operand.
- Example
- LDA 2000H ; 2000H is memory address.
- IN 08H ; 08H is port address.
- OUT 10H ; 10H is port address.
3. Register Addressing Mode
- In this mode specifies register or register pair that contains data.
- Example
- MOV A B ; A B.
- ADD B ; A=A+B.
4. Indirect Addressing Mode
- In this mode 16 bit memory address is indirectly provided with the instruction using a register pair.
- Example
- LDAX D ; A M[DE].
- STAX D ; M[DE] A.
5. Implicit Addressing Mode
- This mode doesn’t require any operand, data is specified by the Opcode itself.
- Example
- CMA