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:
|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 , 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.
Don’t stop now and take your learning to the next level. Learn all the important concepts of Data Structures and Algorithms with the help of the most trusted course: DSA Self Paced. Become industry ready at a student-friendly price.
- Program execution transfer instructions in 8086 microprocessor
- Data transfer instructions in 8085 microprocessor
- Arithmetic instructions in 8086 microprocessor
- Logical instructions in 8086 microprocessor
- String manipulation instructions in 8086 microprocessor
- Process control instructions in 8086 microprocessor
- 8086 program to transfer a block of 4 bytes by using string instructions
- Arithmetic instructions in 8085 microprocessor
- Machine Control Instructions in Microprocessor
- Logical instructions in 8085 microprocessor
- Difference between SIM and RIM instructions in 8085 microprocessor
- Branching instructions in 8085 microprocessor
- Pin diagram of 8086 microprocessor
- Bus Cycles of 8086 Microprocessor
- Interrupts in 8086 microprocessor
- 8086 program to transfer a block of bytes by using string instruction
- Differences between 8085 and 8086 microprocessor
- Memory Segmentation in 8086 Microprocessor
- Addressing modes in 8086 microprocessor
- Flag register of 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 firstname.lastname@example.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.