movk

Move Keep

MOVK <Wd>, #<imm16> {, lsl #<shift>}

Inserts a 16-bit immediate into a register, keeping other bits unchanged.

Details

The Move Keep instruction inserts a 16-bit immediate into a register, keeping other bits unchanged.

Pseudocode Operation

Wd ← imm16

Example

MOVK w0, #16

Encoding

Binary Layout
01110010
1
hw
imm16
Rd
 
Format Data Processing
Opcode 0x72800000
Extension Base

Operands

  • Wd
    Destination 32-bit integer register
  • imm16
    Imm
  • shift
    Shift (0,16)