AnsweredAssumed Answered

When is CCR.V bit set?

Question asked by Tim Updegrove on Jul 13, 2009
Latest reply on Jul 15, 2009 by Tim Updegrove

General question not related to specific device.  I understand it is an arithmetic overflow in simplest terms.  Wondering the specific instances where it is set. Tried to research on net and found two answers.


1.  XOR of a carry into the sign bit and a carry out of the sign bit.


2. For addition, set when positive num + positive num = positive num and when negative num + negative num = positive num.


For subtraction, set when negative num - positive num = negative num and when positive num - negative num = negative num.


Anyone have a good description?