Condition codes

The instructions that can be conditional have an optional condition code, shown in syntax descriptions as {cond}. Table 14 shows the condition codes that you can use.

Table 14. Condition code suffixes

SuffixMeaning
EQEqual
NENot equal
CSCarry set (identical to HS)
HSUnsigned higher or same (identical to CS)
CC Carry clear (identical to LO)
LOUnsigned lower (identical to CC)
MIMinus or negative result
PLPositive or zero result
VSOverflow
VCNo overflow
HIUnsigned higher
LSUnsigned lower or same
GESigned greater than or equal
LTSigned less than
GTSigned greater than
LESigned less than or equal
ALAlways (this is the default)

Note

The precise meanings of the condition codes depend on whether the condition code flags were set by a VFP instruction or by an ARM data processing instruction.

See also

Copyright © 2010-2011 ARM. All rights reserved.ARM DUI 0489E
Non-ConfidentialID071611