MOV (register)

Move register value

This instruction copies the value in a source register to the destination register.

Encoding: Not setting the condition flags

313029282726252423222120191817161514131211109876543210
010101000000000011111
sfopcshiftNRmimm6RnRd

32-bit (sf == 0)

MOV <Wd>, <Wm>

Equivalent to: ORR <Wd>, WZR, <Wm>

64-bit (sf == 1)

MOV <Xd>, <Xm>

Equivalent to: ORR <Xd>, XZR, <Xm>

Explanations

<Wd>: Is the 32-bit name of the general-purpose destination register, encoded in the "Rd" field.
<Wm>: Is the 32-bit name of the general-purpose source register, encoded in the "Rm" field.
<Xd>: Is the 64-bit name of the general-purpose destination register, encoded in the "Rd" field.
<Xm>: Is the 64-bit name of the general-purpose source register, encoded in the "Rm" field.

Operational Notes

If PSTATE.DIT is 1: