You copied the Doc URL to your clipboard.

MOV (to or from SP)

Move between register and stack pointer.

This instruction is an alias of ADD (immediate).

Syntax

MOV  Wd|WSP, Wn|WSP    ; 32-bit general registers

Equivalent to ADD Wd|WSP, Wn|WSP, #0

MOV  Xd|SP, Xn|SP    ; 64-bit general registers

Equivalent to ADD Xd|SP, Xn|SP, #0

Where:

Wd|WSP

Is the 32-bit name of the destination general-purpose register or stack pointer, in the range 0 to 31.

Wn|WSP

Is the 32-bit name of the source general-purpose register or stack pointer, in the range 0 to 31.

Xd|SP

Is the 64-bit name of the destination general-purpose register or stack pointer, in the range 0 to 31.

Xn|SP

Is the 64-bit name of the source general-purpose register or stack pointer, in the range 0 to 31.

Was this page helpful? Yes No