2.6.5 General Data processing instructions

The following table shows the data processing instructions.

Table 2-27. 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
SBCSubtract with CarryADD, ADC, SUB, SBC, and RSB
SUBSubtractADD, ADC, SUB, SBC, and RSB
SUBWSubtractADD, ADC, SUB, SBC, and RSB
TEQTest EquivalenceTST and TEQ
TSTTestTST and TEQ