<<< Overflow Condition | Index | Overflow Condition, Cont >>> |
When two signed 2's complement numbers are added, the overflow flag OF indicates one of the following:
both operands are positive and the result is negative, or
both operands are negative and the result is positive.
When two unsigned numbers are added, the carry flag CF indicates an overflow, that is,
there is a carry out of the leftmost (most significant) bit.
<<< Overflow Condition | Index | Overflow Condition, Cont >>> |