You copied the Doc URL to your clipboard.

MOVZ

Move wide with zero.

This instruction is used by the alias MOV (wide immediate).

Syntax

MOVZ Wd, #imm{, LSL #shift} ; 32-bit

MOVZ Xd, #imm{, LSL #shift} ; 64-bit

Where:

Wd
Is the 32-bit name of the general-purpose destination register.
shift

Depends on the instruction variant:

32-bit general registers
Is the amount by which to shift the immediate left, either 0 (the default) or 16.
64-bit general registers
Is the amount by which to shift the immediate left, either 0 (the default), 16, 32 or 48.
Xd
Is the 64-bit name of the general-purpose destination register.
imm
Is the 16-bit unsigned immediate, in the range 0 to 65535.

Operation

Move wide with zero moves an optionally-shifted 16-bit immediate value to a register.

Rd = LSL (imm16, shift), where R is either W or X.

Was this page helpful? Yes No