
The Cortex-M4 Instruction Set
ARM DUI 0553A
Copyright © 2010 ARM. All rights reserved.
3-111
ID121610
Non-Confidential
Examples
SXTH
R4, R6, ROR #16
; Rotates R6 right by 16 bits, obtains bottom halfword of
; of result, sign extends to 32 bits and writes to R4
UXTB
R3, R10
; Extracts lowest byte of value in R10, zero extends, and
; writes to R3.