![ARM Cortex-M4 Generic User Manual Download Page 134](http://html.mh-extra.com/html/arm/cortex-m4/cortex-m4_generic-user-manual_2973228134.webp)
The Cortex-M4 Instruction Set
ARM DUI 0553A
Copyright © 2010 ARM. All rights reserved.
3-87
ID121610
Non-Confidential
Examples
SMMLA
R0, R4, R5, R6
; Multiplies R4 and R5, extracts top 32 bits, adds
; R6, truncates and writes to R0
SMMLAR R6, R2, R1, R4 ; Multiplies R2 and R1, extracts top 32 bits, adds
; R4, rounds and writes to R6
SMMLSR R3, R6, R2, R7 ; Multiplies R6 and R2, extracts top 32 bits,
; subtracts R7, rounds and writes to R3
SMMLS
R4, R5, R3, R8
; Multiplies R5 and R3, extracts top 32 bits,
; subtracts R8, truncates and writes to R4.