Atmel Evaluation Kit for the SAM4E Series of Flash Microcontrollers ATSAM4E-EK ATSAM4E-EK Data Sheet

Product codes
ATSAM4E-EK
Page of 1506
139
SAM4E [DATASHEET]
Atmel-11157D-ATARM-SAM4E16-SAM4E8-Datasheet_12-Jun-14
Examples
SMLABB  R5, R6, R4, R1
; Multiplies bottom halfwords of R6 and R4, adds
 ; R1 and writes to R5
SMLATB  R5, R6, R4, R1
; Multiplies top halfword of R6 with bottom halfword
; of R4, adds R1 and writes to R5
SMLATT  R5, R6, R4, R1
; Multiplies top halfwords of R6 and R4, adds
; R1 and writes the sum to R5
SMLABT  R5, R6, R4, R1
; Multiplies bottom halfword of R6 with top halfword
 ; of R4, adds R1 and writes to R5
SMLABT  R4, R3, R2
 ; Multiplies bottom halfword of R4 with top halfword of
 ; R3, adds R2 and writes to R4
SMLAWB
R10, R2, R5, R3 ; Multiplies R2 with bottom halfword of R5, adds
 ; R3 to the result and writes top 32-bits to R10
SMLAWT
R10, R2, R1, R5 ; Multiplies R2 with top halfword of R1, adds R5
; and writes top 32-bits to R10.