The ALU status flags

The APSR contains the following ALU status flags:

N

Set when the result of the operation was Negative.

Z

Set when the result of the operation was Zero.

C

Set when the operation resulted in a Carry.

V

Set when the operation caused oVerflow.

A carry occurs:

Overflow occurs if the result of an add, subtract, or compare is greater than or equal to 231, or less than –231.

ARM KUI 0100A
Non-Confidential