movt

Move Top (A32)

MOVT<c> <Rd>, #<imm16>

Writes a 16-bit immediate to the top half of a register.

Details

The Move Top instruction writes a 16-bit immediate to the top half of a register.

Pseudocode Operation

Rd ← imm16

Example

MOVT r0, #16

Encoding

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

Operands

  • Rd
    Destination general-purpose register
  • imm16
    Value