8085
Addressing
Modes
Addressing Mode
To perform any operation, we have to give the
corresponding instructions to the microprocessor. In each
instruction, programmer has to specify 3 things:
Operation to be performed.
Address of source of data.
Address of destination of result.
The method by which the address of source of data or the
address of destination of result is given in the instruction is
called Addressing Modes. ‘Addressing mode’ refers to the
way in which the operand of the instruction is specified.
Addressing Mode
Addressing Modes
The number & Different kind of ways the programmer can
refer to data stored in the memory
The different ways that a microprocessor can access data
are referred to as Addressing modes
Immediate Addressing mode
Register Addressing mode
Direct Addressing mode
Indirect Addressing mode
Implied Addressing mode
Addressing Modes
Immediate Addressing Mode
8 or 16 bit data can be specified as a part of
Instruction
The instruction having ‘I’ (Immediate) letter fall
under this category
Examples :
MVI C,25H
MVI M,7CH
LXI D,245EH
ADI 87H
Immediate Addressing Mode
Register Addressing Mode
Data transfer between Registers
Specifies the Source ,Destination or Both Operand in
an 8085 registers
Faster Execution (it is not necessary to access
memory locations )
Examples :MOV A,B ADD E
SPHL
XCHG
INR L
Register Addressing Mode
Direct Addressing Mode
Specifies 16 bit address of the operand within
instruction itself
Second & third bytes of instruction contain 16 bit
Note : In interface IO port address is only 8 bit
Examples :
LDA 2000H
LHLD 1111H
IN 75H
Direct Addressing Mode
Indirect Addressing Mode
The memory address where the operand located is
specified by the contents of a register pair
Examples :
LDAX B
MOV M,D
Immediate Indirect MVI M,55H
Register Indirect ADC M
DCR M
PUSH PSW
Indirect Addressing Mode
Implied Addressing Mode
Opcode specifies the address of the operands
Examples :
CMA
STC
RAL
DAA
Implied Addressing Mode
?
Machine Control group
Examples :
EI DI
NOP HLT
SIM RIM
Answer :
?
NULL Addressing Mode
Machine Control group
Examples :
EI DI
NOP HLT
SIM RIM
Answer : NULL Addressing Mode
NULL Addressing Mode