| <<< x86 Control Registers | Index | Ambiguous MOVes: PTR and OFFSET >>> |
The MOV instruction copies the source operand to the destination operand without affecting the source.
Five types of operand combinations are allowed with MOV:
Instruction type Example
-------------------------- ------------------
mov register, register mov DX, CX
mov register, immediate mov BL, 100
mov register, memory mov EBX, [count]
mov memory, register mov [count], ESI
mov memory, immediate mov [count], 23
Note: the above operand combinations are valid for all instructions that require two operands.
| <<< x86 Control Registers | Index | Ambiguous MOVes: PTR and OFFSET >>> |