3.8. Packing and unpacking instructions

Table 3.11shows the instructions that operate on packing and unpacking data:

Table 3.11. Packing and unpacking instructions

MnemonicBrief descriptionSee
PKHPack HalfwordPKHBT and PKHTB
SXTABExtend 8 bits to 32 and addSXTA and UXTA
SXTAB16Dual extend 8 bits to 16 and addSXTA and UXTA
SXTAHExtend 16 bits to 32 and addSXTA and UXTA
SXTBSign extend a byteSXT and UXT
SXTB16Dual extend 8 bits to 16 and addSXT and UXT
SXTHSign extend a halfwordSXT and UXT
UXTABExtend 8 bits to 32 and addSXTA and UXTA
UXTAB16Dual extend 8 bits to 16 and addSXTA and UXTA
UXTAHExtend 16 bits to 32 and addSXTA and UXTA
UXTBZero extend a byteSXT and UXT
UXTB16Dual zero extend 8 bits to 16 and addSXT and UXT
UXTHZero extend a halfwordSXT and UXT

Copyright © 2015, 2018 Arm. All rights reserved.ARM DUI 0646C
Non-ConfidentialID121118