LDA Instruction
The LDA instruction is used to load content present in the specified memory address to the accumulator. Suppose we have an instruction LDA 5000H and opcode for LDA instruction is 3A. The address 5000H contains data 5AH and the accumulator contains data 4DH. Then after executing the LDA 3020H instruction the content in the memory address is copied to accumulator.
Content Training Table
The content training table for the above instruction is given below.
Location |
Before Executing LDA 3020H instruction |
After Executing LDA 3020H instruction |
---|---|---|
5000H |
5AH |
5AH |
A |
4DH |
5AH |
Address |
Hexadecimal Code |
Instruction |
Description |
---|---|---|---|
1000 |
3A |
LDA 5000H |
A ← [5000H] content of 3020H address is copied to accumulator. |
1001 |
00 |
It represents the lower byte of specified memory address. |
|
1002 |
50 |
It represents the upper byte of specified memory address. |
Timing Diagram for LDA Instruction
The timing diagram below shows the LDA instruction.
Absolute Addressing Mode in 8085 Microprocessor
In absolute addressing mode in the 8085 microprocessor, the effective address is provided directly in the address part of the instruction. The operand can be directly fetched by accessing the effective address. In this article, we will explore the absolute addressing mode and discuss the operations and examples of absolute addressing mode. We will also discuss the advantages, disadvantages and applications of absolute addressing mode in 8085 microprocessors.
Table of Content
- Absolute Addressing Mode
- Representation of Instructions
- Examples
- LDA Instruction
- Advantages and Disadvantages
- Application