10.183 UXTB16

Zero extend two Bytes.


UXTB16{cond} {Rd}, Rm {,rotation}
is an optional condition code.
is the destination register.
is the register holding the value to extend.
is one of:
ROR #8
Value from Rm is rotated right 8 bits.
ROR #16
Value from Rm is rotated right 16 bits.
ROR #24
Value from Rm is rotated right 24 bits.
If rotation is omitted, no rotation is performed.


UXTB16 extends two 8-bit values to two 16-bit values. It does this by:
  1. Rotating the value from Rm right by 0, 8, 16 or 24 bits.
  2. Extracting bits[23:16] and bits[7:0] from the value obtained.
  3. Zero extending each to 16 bits.

Register restrictions

You cannot use PC for any register.
You can use SP in ARM instructions but this is deprecated in ARMv6T2 and above. You cannot use SP in Thumb instructions.

Condition flags

This instruction does not change the flags.


This ARM instruction is available in ARMv6 and above.
This 32-bit Thumb instruction is available in ARMv6T2 and above. For the ARMv7-M architecture, it is only available in an ARMv7E-M implementation.
There is no 16-bit version of this instruction in Thumb.
Related reference
10.8 Condition code suffixes
Non-ConfidentialPDF file icon PDF versionARM DUI0379G
Copyright © 2007, 2008, 2011, 2012, 2014, 2015 ARM. All rights reserved.