MOV
Operation
Copies the source operand to the destination operand.
Assembler Syntax
MOV.Q Rn(r), SP
MOV.Q SP, Rn(r)
MOV.{L|Q}(z) Rn(s), Rn(d)
MOV.B Rn(s), Rn(d)
MOV.W Rn(s), Rn(d)
MOV.{B|W|L|Q}(z) Rn(s), <ea>(e)
MOV.{B|W|L|Q}(z) <ea>(e), Rn(d)
MOV.{B|W|L|Q}(z) <ea>(s), <ea>(d)
Privilege
Unprivileged
Repeat eligibility
REP eligible; REPcc observes dst
Reads the source using its addressing mode and selected size and writes that value to the destination. A sub-Q Rn destination receives the selected source bits zero-extended to 64 bits.
2.75in
Encodings
MOV.Q Rn(r), SP
Format: Instruction format for MOV.Q Rn(r), SP
2.75in MOV.Q SP, Rn(r)
Format: Instruction format for MOV.Q SP, Rn(r)
2.75in MOV.{L|Q}(z) Rn(s), Rn(d)
Format: Instruction format for MOV.{L|Q}(z) Rn(s), Rn(d)
2.75in MOV.B Rn(s), Rn(d)
Format: Instruction format for MOV.B Rn(s), Rn(d)
2.75in MOV.W Rn(s), Rn(d)
Format: Instruction format for MOV.W Rn(s), Rn(d)
2.75in MOV.{B|W|L|Q}(z) Rn(s), <ea>(e)
Format: Instruction format for MOV.{B|W|L|Q}(z) Rn(s), <ea>(e)
dst — excluded: immediate [invalid_destination]
2.75in MOV.{B|W|L|Q}(z) <ea>(e), Rn(d)
Format: Instruction format for MOV.{B|W|L|Q}(z) <ea>(e), Rn(d)
2.75in MOV.{B|W|L|Q}(z) <ea>(s), <ea>(d)
Format: Instruction format for MOV.{B|W|L|Q}(z) <ea>(s), <ea>(d)
dst — excluded: immediate [invalid_destination]