- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Instruction type LDAX rp in 8085 Microprocessor
In 8085 Instruction set, LDAX is a mnemonic that stands for LoaD Accumulator from memory pointed by eXtended register pair denoted as “rp” in the instruction. This instruction uses register indirect addressing for specifying the data. It occupies only 1-Byte in the memory.
This rp can be either BC register pair represented by B or DE register pair represented by D.Note that LDAX H is not provided in 8085 instruction set. This is because, LDAX H is the same as MOV A, M in its function.
Mnemonics, Operand | Opcode(in HEX) | Bytes |
---|---|---|
LDAX B | 0A | 1 |
LDAX D | 1A | 1 |
Let us consider, LDAX B as an example instruction of this type. As It is a 1-Byte instruction so it will occupy 1-Byte in the memory. Let us suppose that the initial content of BC register pair is 4050H and at memory location 4050H is having the 8-bit content of ABH. Let the Accumulator initial content is CDH. So after execution of the instruction the Accumulator will have the updated content of ABH. Let us consider the tracing table against execution of this instruction below −
Before | After | |
---|---|---|
(BC) | 4050H | 4050H |
(4050H) | ABH | ABH |
A | CDH | ABH |
Address | Hex Codes | Mnemonic | Comment |
---|---|---|---|
2008 | 0A | LDAX B | A <- Content of the memory 4050H |
LDAX B and LDAX D are the instructions available but instructions like LDBX rp, LDCX rp etc. are not available. As Accumulator is the most important 8-bit register, so we have been restricted to use with LDAX rp instruction only.
Here is the timing diagram of LDAX B instruction execution.

Summary − So this instruction LDAX B requires 1-Byte, 2-Machine Cycles (Opcode Fetch, Memory Read) and 7 T-States for execution as shown in the timing diagram.
- Related Articles
- Instruction type INX rp in 8085 Microprocessor
- Instruction type DCX rp in 8085 Microprocessor
- Instruction type DAD rp in 8085 Microprocessor
- Instruction type POP rp in 8085 Microprocessor
- Instruction type PUSH rp in 8085 Microprocessor
- Instruction type STAX rp in 8085 Microprocessor
- Instruction Type LXI rp, d16 in 8085 Microprocessor
- Instruction type CMC in 8085 Microprocessor
- Instruction type STC in 8085 Microprocessor
- Instruction type RLC in 8085 Microprocessor
- Instruction type RAL in 8085 Microprocessor
- Instruction type RRC in 8085 Microprocessor
- Instruction type RAR in 8085 Microprocessor
- Instruction type SPHL in 8085 Microprocessor
- Instruction type XTHL in 8085 Microprocessor
