Atmel ARM-Based Evaluation Kit for SAM4S16C, 32-Bit ARM® Cortex® Microcontroller ATSAM4S-WPIR-RD ATSAM4S-WPIR-RD 数据表

产品代码
ATSAM4S-WPIR-RD
下载
页码 1231
SAM4S Series [DATASHEET]
Atmel-11100G-ATARM-SAM4S-Datasheet_27-May-14
150
Do not use SP and do not use PC.
RdHi
 and RdLo must be different registers.
Condition Flags
These instructions do not affect the condition code flags.
Examples
SMLAL
R4, R5, R3, R8
; Multiplies R3 and R8, adds R5:R4 and writes to
; R5:R4
SMLALBT  R2, R1, R6, R7  ; Multiplies bottom halfword of R6 with top 
 ; halfword of R7, sign extends to 32-bit, adds
; R1:R2 and writes to R1:R2
SMLALTB  R2, R1, R6, R7  ; Multiplies top halfword of R6 with bottom
; halfword of R7,sign extends to 32-bit, adds R1:R2
; and writes to R1:R2
SMLALD
 R6, R8, R5, R1  ; Multiplies top halfwords in R5 and R1 and bottom
 ; halfwords of R5 and R1, adds R8:R6 and writes to
 ; R8:R6
SMLALDX  R6, R8, R5, R1  ; Multiplies top halfword in R5 with bottom
; halfword of R1, and bottom halfword of R5 with 
 ; top halfword of R1, adds R8:R6 and writes to 
 ; R8:R6.