Addressing Modes in 8085
Addressing Modes in 8085
These are the instructions used to transfer the data from one
register to another register, from the memory to the register, and
from the register to the memory without any alteration in the
content. Addressing modes in 8085 is classified into 5 groups
1. Immediate Addressing Mode
In this mode, the data is directly copied from the given address
to the register,the data to be operated is available inside a
memory location and that memory location is directly specified
as an operand. The operand is directly available in the
instruction itself. The size of an instruction in the direct
addressing mode is 3 bytes. Input/output instructions in direct
addressing mode are 2 bytes.
Examples:
LDA 2050 (load the contents of memory location into
accumulator A)
LHLD address (load contents of 16-bit memory location into
H-L register pair)
IN 35 (read the data from port whose address is 35)