PM0214
Condition flags
If an overflow is detected, the Q flag is set.
Examples
SMLABB
SMLATB
SMLATT
SMLABT
SMLABT
SMLAWB
SMLAWT
R5, R6, R4, R1
; Multiplies bottom halfwords of R6 and R4, adds
; R1 and writes to R5
R5, R6, R4, R1
; Multiplies top halfword of R6 with bottom halfword
; of R4, adds R1 and writes to R5
R5, R6, R4, R1
; Multiplies top halfwords of R6 and R4, adds
; R1 and writes the sum to R5
R5, R6, R4, R1
; Multiplies bottom halfword of R6 with top halfword
; of R4, adds R1 and writes to R5
R4, R3, R2
; Multiplies bottom halfword of R4 with top halfword
; of R3, adds R2 and writes to R4
R10, R2, R5, R3 ; Multiplies R2 with bottom halfword of R5, adds
; R3 to the result and writes top 32-bits to R10
R10, R2, R1, R5 ; Multiplies R2 with top halfword of R1, adds R5
; and writes top 32-bits to R10.
The STM32 Cortex-M4 instruction set
PM0214 Rev 10
113/262
261
Need help?
Do you have a question about the STM32F3 Series and is the answer not in the manual?
Questions and answers