Chris Ross

Check bits in the CCR

Discussion created by Chris Ross on Jun 10, 2008
Latest reply on Jun 11, 2008 by Daniel Lundin
Hi,

I'm sorry if this has been answered before but i could not find a solution.

Background, using CodeWarrior 5.7, Chip is type HC12S and programming in C.

I'm performing a 16bit x 16bit multiplication and need to check if there is an overflow. I assume i should just check the relevant bits in the CCR but i'm not sure how to do this programmically.

Any help would be much appericiated.

Thank you.
Chris


Outcomes