Data Movement Instructions : -
MOV Move Data; Intel 80×86; move a byte (8 bits), word (16 bits), or doubleword (32 bits) of data; memory to register, register to memory, or register to register (cannot move data from memory to memory or from segment register to segment register); does not affect flags.
Code :-
Mov Dest, Source
Example :-
Mov ah,01h
XCHG Exchanges the contents of the destination (first) and source (second) operands. The operands can be two general-purpose registers or a register and a memory location.
Code :
XCHG register,memory
XCHG register,register
XCHG memory,register
XCHG memory,memory
Example :-
XCHG AX,BX
Operations :-
TEMP
DEST
DEST
SRC
SRC
TEMP
Flags Affected :-
None.



Recent Comments