You copied the Doc URL to your clipboard.

ARM Compiler armasm User Guide : MOV (bitmask immediate)

MOV (bitmask immediate)

Move (bitmask immediate).

This instruction is an alias of ORR (immediate).

Syntax

MOV Wd|WSP, #imm ; 32-bit general registers

Equivalent to ORR Wd|WSP, WZR, #imm.

MOV Xd|SP, #imm ; 64-bit general registers

Equivalent to ORR Xd|SP, XZR, #imm.

Where:

Wd|WSP

Is the 32-bit name of the destination general-purpose register or stack pointer.

Xd|SP

Is the 64-bit name of the destination general-purpose register or stack pointer.

imm

Is the bitmask immediate.

Operation

Move (bitmask immediate) writes a bitmask immediate value to a register.

Rd = imm, where R is either W or X.

Was this page helpful? Yes No