Data transfer instructions in 8086 microprocessor
Data tranfer instructions are the instructions which transfers data in the microprocessor. They are also called copy instructions.
Following is the table showing the list of data transfer instructions:
| OPCODE | OPERAND | EXPLANATION | EXAMPLE |
|---|---|---|---|
| MOV | D, S | D = S | MOV AX, [SI] |
| PUSH | D | pushes D to the stack | PUSH DX |
| POP | D | pops the stack to D | POP AS |
| PUSHA | none | put all the registers into the stack | PUSHA |
| POPA | none | gets words from the stack to all registers | POPA |
| XCHG | D, S | exchanges contents of D snd S | XCHG [2050], AX |
| IN | D, S | copies a byte or word from S to D | IN AX, DX |
| OUT | D, S | copies a byte or word from D to S | OUT 05, AL |
| XLAT | none | translates a byte in AL using a table in the memory | XLAT |
| LAHF | none | loads AH with the lower byte of the flag register | LAHF |
| SAHF | none | stores AH register to lower byte of the flag register | SAHF |
| PUSHF | none | copies the flag register at the top of the stack | PUSHF |
| POPF | none | copies a word at the top of the stack to the flag register | POPF |
Here D stands for destination and S stands for source.
D and S can either be register, data or memory address.
Recommended Posts:
- Program execution transfer instructions in 8086 microprocessor
- Data transfer instructions in 8085 microprocessor
- 8086 program to transfer a block of 4 bytes by using string instructions
- Arithmetic instructions in 8086 microprocessor
- Logical instructions in 8086 microprocessor
- String manipulation instructions in 8086 microprocessor
- Process control instructions in 8086 microprocessor
- Branching instructions in 8085 microprocessor
- Logical instructions in 8085 microprocessor
- Arithmetic instructions in 8085 microprocessor
- 8086 program to transfer a block of bytes by using string instruction
- Pin diagram of 8086 microprocessor
- Interrupts in 8086 microprocessor
- Addressing modes in 8086 microprocessor
- Differences between 8085 and 8086 microprocessor
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.



