
DR
AFT
DR
AFT
DRAFT
DR
D
RAFT
DRAFT
DRA
FT DRAF
D
RAFT DRAFT DRAFT DRAFT DRAFT D
DRAFT
D
RAFT DRA
FT DRAFT DRAFT DRAFT DRA
UM10360_0
© NXP B.V. 2009. All rights reserved.
User manual
Rev. 00.06 — 5 June 2009
658 of 808
NXP Semiconductors
UM10360
Chapter 34: Appendix: Cortex-M3 User Guide
2.5.7 MOVT
Move Top.
2.5.7.1
Syntax
MOVT{cond} Rd, #imm16
where:
cond
is an optional condition code, see
Rd
is the destination register.
imm16
is a 16-bit immediate constant.
2.5.7.2
Operation
MOVT
writes a 16-bit immediate value,
imm16
, to the top halfword,
Rd
[31:16], of its
destination register. The write does not affect
Rd
[15:0].
The
MOV
,
MOVT
instruction pair enables you to generate any 32-bit constant.
2.5.7.3
Restrictions
Rd
must not be SP and must not be PC.
2.5.7.4
Condition flags
This instruction does not change the flags.
2.5.7.5
Examples
MOVT
R3, #0xF123 ; Write 0xF123 to upper halfword of R3, lower halfword
; and APSR are unchanged