Hi all,
can u help me how to find if the sum of two numbers X and Y would cross the 32 bit limit. My development system has all registers of 32 bits and checking them as:
if (X+Y) > 0xFFFFFFFF
doesn't help because the system then has to add the numbers for checking and if it did so, in case the sum is over 32 bits, the counter will roll over zero.