Binary Math:

Digital systems use the 2's complement method to represent negative numbers.
Using this method allows the digital system to run very fast by simplifying the hardware and treating both signed and unsigned numbers the same.
Therefore, it is the application of the numbers that determines how the answer is interpreted; that is, signed or unsigned.

Using 8 bits would give us 28 possible combinations or 256.

Unsigned number range: 0 to 255

signed number range: -128 to +127


arrow arrow arrow

Enter two hexadecimal numbers:


green C = Z =

For unsigned numbers, the C bit (Carry) represents 256.
The green arrow will go off the line in signed OVERFLOW or UNDERFLOW condition.