3.5. General data processing instructions

Table 3.6 shows the data processing instructions:

Table 3.6. Data processing instructions

MnemonicBrief descriptionSee
ADCSAdd with CarryADC, ADD, RSB, SBC, and SUB
ADD{S}AddADC, ADD, RSB, SBC, and SUB
ANDSLogical ANDAND, ORR, EOR, and BIC
ASRSArithmetic Shift RightASR, LSL, LSR, and ROR
BICSBit ClearAND, ORR, EOR, and BIC
CMNCompare NegativeCMP and CMN
CMPCompareCMP and CMN
EORSExclusive ORAND, ORR, EOR, and BIC
LSLSLogical Shift LeftASR, LSL, LSR, and ROR
LSRSLogical Shift RightASR, LSL, LSR, and ROR
MOV{S}MoveMOV and MVN
MULSMultiplyMULS
MVNSMove NOTMOV and MVN
ORRSLogical ORAND, ORR, EOR, and BIC
REVReverse byte order in a wordREV, REV16, and REVSH
REV16Reverse byte order in each halfwordREV, REV16, and REVSH
REVSHReverse byte order in bottom halfword and sign extendREV, REV16, and REVSH
RORSRotate RightASR, LSL, LSR, and ROR
RSBSReverse SubtractADC, ADD, RSB, SBC, and SUB
SBCSSubtract with CarryADC, ADD, RSB, SBC, and SUB
SUBSSubtractADC, ADD, RSB, SBC, and SUB
SXTBSign extend a byteSXT and UXT
SXTHSign extend a halfwordSXT and UXT
UXTBZero extend a byteSXT and UXT
UXTHZero extend a halfwordSXT and UXT
TSTTestTST

Copyright © 2009 ARM Limited. All rights reserved.ARM DUI 0497A
Non-Confidential