2.6.5.1.4 Condition Flags

If S is specified, these instructions update the N, Z, C and V flags according to the result.

Examples

ADD R2, R1, R3
SUBS R8, R6, #240            ; Sets the flags on the result
RSB R4, R4, #1280            ; Subtracts contents of R4 from 1280
ADCHI R11, R0, R3            ; Only executed if C flag set and Z
                             ; flag clear.