Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!
Mr. Gursharan Singh Tatla [email protected]
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.
Intel 8085 uses the following addressing modes:
In this mode, the address of the operand is given in the instruction itself.
LDA is the operation.
2500 H is the address of source.
Accumulator is the destination.
LDA 2500 H Load the contents of memory location 2500 H in accumulator.
In this mode, the address of operand is specified by a register pair.
MOV is the operation.
M is the memory location specified by H-L register pair.
A is the destination.
MOV A, M Move data from memory location specified by H-L pair to accumulator.
In this mode, the operand is specified within the instruction itself.
MVI is the operation.
05 H is the immediate data (source).
A is the destination.
MVI A, 05 H Move 05 H in accumulator.