- 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
Register indirect addressing mode in 8085 Microprocessor
In this mode, the data is transferred from one register to another by using the address pointed by the register. Register indirect addressing mode also used to call as indirect addressing mode. For example MOV A, M: means data is transferred from the memory address pointed by the register pair HLto the register A.
MOV E, M
It occupies only 1-Byte in memory. MOV E, M is an example instruction of this type. It is a 1-Byte instruction. Suppose E register content is DBH, H register content is 40H, and L register content is 50H. Letus say location 4050H has the data value AAH. When the 8085 executes this instruction, the contents of E register will change to AAH, as shown below –
Before | After | |
---|---|---|
(E) | DBH | AAH |
(HL) | 4050H | 4050H |
(4050H) | AAH | AAH |
Address | Hex Codes | Mnemonic | Comment |
---|---|---|---|
2008 | 2A | MOV E, M | E ← Content of the memory location pointed by HL register pair |
The timing diagram for this MOV E, M instruction is as follows –
Summary: So this instruction MOV E, M requires1-Byte, 2-Machine Cycles (Opcode Fetch, Memory Read) and 7 T-States for execution as shown in the timing diagram.