MOV

By Vesper Vei
1 minute read

Table of Contents

  1. MOV
  2. MOV (mov)
    1. Basic purpose
    2. Instruction format
    3. Behavioral characteristics
    4. Equivalent analysis
    5. Common uses

MOV

MOV (mov)

Basic purpose

The MOV instruction is used to copy the value of the source operand to the destination operand.
This is one of the most commonly used instructions for data transfer.

Instruction format

mov dst, src
dst = src

Allowed:

Behavioral characteristics

Example:

mov eax, [rbp-0x10]
mov [rbp-0x8], rax
mov ecx, 0x1234

Equivalent analysis

MOV is a pure data copy operation and can be regarded as:

dst = src

Understanding MOV is very helpful for mastering function argument passing and register behavior under the ABI.

Common uses



Relationship Graph

Loading graph...