Two of the bits in the flags register That Add and Sub Instructions set area overflow and carry flag:
Overflow Flag: Set for Signed Arithmetic When The Ture Result is Too Big To Fit Into The Destination.
Carry flag: if it is a carry.