| |||
| Home > ARM and Thumb Instructions > General data processing instructions > MOVT | |||
Move Top. Writes a 16-bit immediate value to the top halfword of a register, without affecting the bottom halfword.
MOVT{cond} Rd, #imm16
where:
condis an optional condition code.
Rdis the destination register.
imm16is a 16-bit immediate value.
MOVT writes to imm16[31:16].
The write does not affect Rd[15:0].Rd
You can generate any 32-bit immediate with a MOV, MOVT instruction
pair. The assembler implements the MOV32 pseudo-instruction
for convenient generation of this instruction pair.
You cannot use PC in ARM or Thumb instructions.
You can use SP for in
ARM instructions but this is deprecated. Rd
You cannot use SP in Thumb instructions.
This ARM instruction is available in ARMv6T2 and above.
This 32-bit Thumb instruction is available in ARMv6T2 and above.
There is no 16-bit Thumb version of this instruction.