COMPUTER ORGANIZATION
UNIT-III: 8085 MICROPROCESSORS
Addressing Modes in Instructions:
The process of specifying the data to be operated on by the instruction is called
addressing. The various formats for specifying operands are called addressing modes.
The 8085 has the following five types of addressing:
I. Immediate addressing
II. Memory direct addressing
III. Register direct addressing
IV. Indirect addressing
V. Implicit addressing
Immediate Addressing:
In this mode, the operand given in the instruction - a byte or word – transfers
to the destination register or memory location.
Ex: MVI A, 9AH
• The operand is a part of the instruction.
• The operand is stored in the register mentioned in the instruction.
Memory Direct Addressing:
Memory direct addressing moves a byte or word between a memory location and
register. The memory location address is given in the instruction.
Ex: LDA 850FH
This instruction is used to load the content of memory address 850FH in the accumulator.
1
COMPUTER ORGANIZATION
Register Direct Addressing:
Register direct addressing transfer a copy of a byte or word from source register to
destination register.
Ex: MOV B, C
It copies the content of register C to register B.
Indirect Addressing:
Indirect addressing transfers a byte or word between a register and a memory
location. Ex: MOV A, M
Here the data is in the memory location pointed to by the contents of HL pair. The
data is moved to the accumulator.
Implicit Addressing
In this addressing mode the data itself specifies the data to be operated
upon. Ex: CMA
The instruction complements the content of the accumulator. No specific data or
operand is mentioned in the instruction.