|
Slide 4.9: Instructions Slide 4.11: Instruction operands Home |
|
MOV Instruction
The MOV instruction moves the integer -5000h to the EAX register. The first operand (EAX) is called the destination operand, and the second operand is called the source operand.
|
MOV — Move Byte or Word
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
MOV is very flexible in its use of operands, as long as the rules are observed:
|
|