The Stm32 Cortex-M4 Instruction Set; Instruction Set Summary; Table 20. Cortex-M4 Instructions - ST STM32F4 Series Programming Manual

Cortex-m4
Hide thumbs Also See for STM32F4 Series:
Table of Contents

Advertisement

PM0214
3

The STM32 Cortex-M4 instruction set

This chapter is the reference material for the Cortex-M4 instruction set description in a User
Guide. The following sections give general information:
Section 3.1: Instruction set summary on page 49
Section 3.2: CMSIS intrinsic functions on page 57
Section 3.3: About the instruction descriptions on page 59
Each of the following sections describes a functional group of Cortex-M4 instructions.
Together they describe all the instructions supported by the Cortex-M4 processor:
Section 3.4: Memory access instructions on page 68
Section 3.5: General data processing instructions on page 80
Section 3.6: Multiply and divide instructions on page 108
Section 3.7: Saturating instructions on page 124
Section 3.8: Packing and unpacking instructions on page 133
Section 3.9: Bitfield instructions on page 137
Section 3.10: Floating-point instructions on page 148
Section 3.11: Miscellaneous instructions on page 179
3.1

Instruction set summary

The processor implements a version of the thumb instruction set.
supported instructions.
In
Table
Angle brackets, <>, enclose alternative forms of the operand.
Braces, {}, enclose optional operands.
The operands column is not exhaustive.
Op2 is a flexible second operand that can be either a register or a constant.
Most instructions can use an optional condition code suffix.
For more information on the instructions and operands, see the instruction descriptions.
Mnemonic
ADC, ADCS
ADD, ADDS
ADD, ADDW {Rd,} Rn, #imm12
ADR
20:

Table 20. Cortex-M4 instructions

Operands
{Rd,} Rn, Op2
{Rd,} Rn, Op2
Rd, label
Brief description
Add with carry
Add
Add
Load PC-relative address
DocID022708 Rev 6
The STM32 Cortex-M4 instruction set
Table 20
Flags
N,Z,C,V
3.5.1 on page 82
N,Z,C,V
3.5.1 on page 82
N,Z,C,V
3.5.1 on page 82
3.4.1 on page 69
lists the
Page
49/260
259

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Stm32l4+ seriesStm32f3 series

Table of Contents

Save PDF