Skip to content
Related Articles

Related Articles

Improve Article

Data transfer instructions in 8086 microprocessor

  • Difficulty Level : Basic
  • Last Updated : 17 Jun, 2021

Data transfer 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: 

 

OPCODEOPERANDEXPLANATIONEXAMPLE
MOVD, SD = SMOV AX, [SI]
PUSHDpushes D to the stackPUSH DX
POPDpops the stack to DPOP AS
PUSHAnoneput all the registers into the stackPUSHA
POPAnonegets words from the stack to all registersPOPA
XCHGD, Sexchanges contents of D snd SXCHG [2050], AX
IND, Scopies a byte or word from S to DIN AX, DX
OUTD, Scopies a byte or word from D to SOUT 05, AL
XLATnonetranslates a byte in AL using a table in the memoryXLAT
LAHFnoneloads AH with the lower byte of the flag registerLAHF
SAHFnonestores AH register to lower byte of the flag registerSAHF
PUSHFnonecopies the flag register at the top of the stackPUSHF
POPFnonecopies a word at the top of the stack to the flag registerPOPF

Here D stands for destination and S stands for source. 
D and S can either be register, data or memory address.
 

Attention reader! Don’t stop learning now. Get hold of all the important CS Theory concepts for SDE interviews with the CS Theory Course at a student-friendly price and become industry ready.

 

My Personal Notes arrow_drop_up
Recommended Articles
Page :