You copied the Doc URL to your clipboard.

ARM Compiler armasm User Guide : Overflow flag

Overflow flag

Overflow can occur for add, subtract, and compare operations.

In A32/T32 code, overflow occurs if the result of the operation is greater than or equal to 231, or less than –231.

In A64 instructions that use the 64-bit X registers, overflow occurs if the result of the operation is greater than or equal to 263, or less than –263.

In A64 instructions that use the 32-bit W registers, overflow occurs if the result of the operation is greater than or equal to 231, or less than –231.

Related concepts

Was this page helpful? Yes No