EasyManuals Logo

ST STM32F4 Series User Manual

ST STM32F4 Series
262 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #91 background imageLoading...
Page #91 background image
PM0214 Rev 9 91/262
PM0214 The STM32 Cortex-M4 instruction set
261
3.5.7 MOVT
Move Top.
Syntax
MOVT{cond} Rd, #imm16
Where:
• ‘cond’ is an optional condition code (see Conditional execution on page 65).
• ‘Rd’ is the destination register.
• ‘imm16’ is a 16-bit immediate constant.
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.
Restrictions
Rd must be neither SP nor PC.
Condition flags
This instruction does not change the flags.
Examples
MOVT R3, #0xF123 ; write 0xF123 to upper halfword of R3,
; lower halfword and APSR are unchanged

Table of Contents

Other manuals for ST STM32F4 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the ST STM32F4 Series and is the answer not in the manual?

ST STM32F4 Series Specifications

General IconGeneral
BrandST
ModelSTM32F4 Series
CategoryComputer Hardware
LanguageEnglish

Related product manuals