Addressing Modes of 8085
Addressing Modes of 8085
Every instruction of a program has to operate on a data. The method of specifying the data to
be operated by the instruction is called Addressing. The 8085 has the following 5 different
types of addressing mode.
1. Immediate Addressing:
In immediate addressing mode, the data is specified in the instruction itself. The data will be
a part of the program instruction. All instructions that have ‘I’ in their mnemonics are of
immediate addressing type
Eg. MVI B, 3EH - Move the data 3EH given in the instruction to B register.
2. Direct Addressing:
In direct addressing mode, the address of the data is specified in the instruction. The data will
be in memory. In this addressing mode, the program instructions and data can be stored in
different memory blocks. This type of addressing can be identified by 16 -bit address present
in the instruction.
Eg. LDA 1050H - Load the data available in memory location 1050H in accumulator
3. Register Addressing:
In register addressing mode, the instruction specifies the name of the register in which the
data is available. This type of addressing can be identified by register names (such as ‘A’,
‘B’, … ) in the instruction.
In register indirect addressing mode, 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 the register pair. This type of addressing can be identified by letter ‘M’ present in
the instruction
In Implicit Addressing Mode ,the instruction itself specifies the type of operation and location
of data to be operated. This type of instruction does not have any address, register name,
immediate data specified along with it.