3.5. General data processing instructions

Table 3.8 shows the data processing instructions:

Table 3.8. Data processing instructions

MnemonicBrief descriptionSee
ADCAdd with CarryADD, ADC, SUB, SBC, and RSB
ADDAddADD, ADC, SUB, SBC, and RSB
ADDWAddADD, ADC, SUB, SBC, and RSB
ANDLogical ANDAND, ORR, EOR, BIC, and ORN
ASRArithmetic Shift RightASR, LSL, LSR, ROR, and RRX
BICBit ClearAND, ORR, EOR, BIC, and ORN
CLZCount leading zerosCLZ
CMNCompare NegativeCMP and CMN
CMPCompareCMP and CMN
EORExclusive ORAND, ORR, EOR, BIC, and ORN
LSLLogical Shift LeftASR, LSL, LSR, ROR, and RRX
LSRLogical Shift RightASR, LSL, LSR, ROR, and RRX
MOVMoveMOV and MVN
MOVTMove TopMOVT
MOVWMove 16-bit constantMOV and MVN
MVNMove NOTMOV and MVN
ORNLogical OR NOTAND, ORR, EOR, BIC, and ORN
ORRLogical ORAND, ORR, EOR, BIC, and ORN
RBITReverse BitsREV, REV16, REVSH, and RBIT
REVReverse byte order in a wordREV, REV16, REVSH, and RBIT
REV16Reverse byte order in each halfwordREV, REV16, REVSH, and RBIT
REVSHReverse byte order in bottom halfword and sign extendREV, REV16, REVSH, and RBIT
RORRotate RightASR, LSL, LSR, ROR, and RRX
RRXRotate Right with ExtendASR, LSL, LSR, ROR, and RRX
RSBReverse SubtractADD, ADC, SUB, SBC, and RSB
SADD16Signed Add 16SADD16 and SADD8
SADD8Signed Add 8SADD16 and SADD8
SASXSigned Add and Subtract with ExchangeSASX and SSAX
SSAXSigned Subtract and Add with ExchangeSASX and SSAX
SBCSubtract with CarryADD, ADC, SUB, SBC, and RSB
SHADD16Signed Halving Add 16SHADD16 and SHADD8
SHADD8Signed Halving Add 8SHADD16 and SHADD8
SHASXSigned Halving Add and Subtract with ExchangeSHASX and SHSAX
SHSAXSigned Halving Subtract and Add with ExchangeSHASX and SHSAX
SHSUB16Signed Halving Subtract 16SHSUB16 and SHSUB8
SHSUB8Signed Halving Subtract 8SHSUB16 and SHSUB8
SSUB16Signed Subtract 16SSUB16 and SSUB8
SSUB8Signed Subtract 8SSUB16 and SSUB8
SUBSubtractADD, ADC, SUB, SBC, and RSB
SUBWSubtractADD, ADC, SUB, SBC, and RSB
TEQTest EquivalenceTST and TEQ
TSTTestTST and TEQ
UADD16Unsigned Add 16UADD16 and UADD8
UADD8Unsigned Add 8UADD16 and UADD8
UASXUnsigned Add and Subtract with ExchangeUASX and USAX
USAXUnsigned Subtract and Add with ExchangeUASX and USAX
UHADD16Unsigned Halving Add 16UHADD16 and UHADD8
UHADD8Unsigned Halving Add 8UHADD16 and UHADD8
UHASXUnsigned Halving Add and Subtract with ExchangeUHASX and UHSAX
UHSAXUnsigned Halving Subtract and Add with ExchangeUHASX and UHSAX
UHSUB16Unsigned Halving Subtract 16UHSUB16 and UHSUB8
UHSUB8Unsigned Halving Subtract 8UHSUB16 and UHSUB8
USAD8Unsigned Sum of Absolute DifferencesUSAD8
USADA8Unsigned Sum of Absolute Differences and AccumulateUSADA8
USUB16Unsigned Subtract 16USUB16 and USUB8
USUB8Unsigned Subtract 8USUB16 and USUB8

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