Complete 8086 instruction set
[XCHG]
XCHG
Operands: REG, memory memory, REG REG, REG Exchange values of two operands. Algorithm: operand1 < - > operand2 Example: MOV AL, 5 MOV AH, 2 XCHG AL, AH ; AL = 2, AH = 5 XCHG AL, AH ; AL = 5, AH = 2 RET Flags: C Z S O P A
unchanged