Addressing Mode of 8085
Addressing Mode of 8085
channel link :
https://www.youtube.com/c/ComputerScienceAcademy7
1. Register Addressing Mode
A
• In this mode, the operand is in general purpose register.
B C
• A, B, C, D, E, H and L are general purpose registers.
D E
• In instruction, both source and destination are registers.
• Instructions using register addressing are very efficient. H L
Let A = 05 H C000 H C8 H
71 H
After MOV A, M A = 71 H
C001 H M
C0 01
H L
4. Immediate Addressing Mode
• In this mode, the operand is specified (given) within the instruction
itself.
• Either 8 bit data or 16 bit data given in the instruction.
• Instructions using immediate addressing are 2 byte or 3 byte
instruction.
Eg. MOV
MVI A, 23 H ( OP Code 3E H)
• MVI is the operation to be performed.
• Immediate data 23 H is itself source of data. A = 23 H
• Reg. A (Accumulator) is the Destination of result.
Let A = 05 H 05 H
1’s
FA H
After CMA Bin Hex A = FA H
1’s
0000 0101 1111 1010