Unit-IV
Introduction
Addressing modes refers to the way in which the
operand of an instruction is specified. In 8085 there
are five addressing modes.
• Immediate Addressing
• Direct Addressing
• Register Addressing
• Register Indirect Addressing
• Implied Addressing
Addressing mode
1. Immediate Addressing: The data is specified in the
instruction itself.
Example: MVI B, 3EH
Moves the data 3EH given in the instruction to B-
register.
2. Direct Addressing: The address of the data is
specified in the instruction. The data will be in the
memory.
Example: LDA 1050H
Load the data available in memory location 1050H in
accumulator
Cont…
Register Addressing :
The instruction specifies the name of the register in which
the data is available.
Example: MOV A, B
Moves the content of B-register to A-register. 4.
Register Indirect Addressing:
The instruction specifies the name of the register in which
the address of the data is available. Here the data will be in
memory and the address will be in a register pair.
Example: MOV A, M
The memory data addressed by HL pair is moved to A-
register.
Cont..
Implied Addressing:
In implied addressing mode, the instruction itself
specifies the data to be operated.
Example: CMA
Complements the content of accumulator.