| |||
| Home > ARM and Thumb Instructions > Condition codes | |||
The instructions that can be conditional have an optional
condition code, shown in syntax descriptions as {. Table 14 shows the condition
codes that you can use.cond}
Table 14. Condition code suffixes
| Suffix | Meaning |
|---|---|
EQ | Equal |
NE | Not equal |
CS | Carry set (identical to HS) |
HS | Unsigned higher or same (identical to CS) |
CC | Carry clear (identical to LO) |
LO | Unsigned lower (identical to CC) |
MI | Minus or negative result |
PL | Positive or zero result |
VS | Overflow |
VC | No overflow |
HI | Unsigned higher |
LS | Unsigned lower or same |
GE | Signed greater than or equal |
LT | Signed less than |
GT | Signed greater than |
LE | Signed less than or equal |
AL | Always (this is the default) |
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
Using the Assembler: