Atmel ARM-Based Evaluation Kit for SAM4S16C, 32-Bit ARM® Cortex® Microcontroller ATSAM4S-WPIR-RD ATSAM4S-WPIR-RD Data Sheet
Product codes
ATSAM4S-WPIR-RD
SAM4S Series [DATASHEET]
Atmel-11100G-ATARM-SAM4S-Datasheet_27-May-14
174
3. Adds the signed or zero extended value to the word or corresponding halfword of Rn and writes the result in
Rd
.
Restrictions
Do not use SP and do not use PC.
Condition Flags
These instructions do not affect the flags.
Examples
Do not use SP and do not use PC.
Condition Flags
These instructions do not affect the flags.
Examples
SXTAH
R4, R8, R6, ROR #16 ; Rotates R6 right by 16 bits, obtains bottom
; halfword, sign extends to 32 bits, adds
; R8,and writes to R4
UXTAB
R3, R4, R10
; Extracts bottom byte of R10 and zero extends
; to 32 bits, adds R4, and writes to R3.