movw

Move Word (A32)

MOVW<c> <Rd>, #<imm16>

Writes a 16-bit immediate to the bottom half, zeroing top.

Details

The Move Word instruction writes a 16-bit immediate to the bottom half, zeroing top.

Pseudocode Operation

Rd ← imm16

Example

MOVW r0, #16

Encoding

Binary Layout
cond
00110000
imm4
Rd
imm12
 
Format Data Proc
Opcode 0x03000000
Extension A32 (Base)

Operands

  • Rd
    Destination general-purpose register
  • imm16
    Value