How the Computer Subtracts by Adding: Two's Complement and Overflow
·4958 words·24 mins
To subtract, the processor adds the first number to the complement of the second, so a single adder does both operations. We will see two’s complement, why 8 signed bits range from -128 to +127, and how overflow took down the Ariane 5 and froze Pac-Man on level 256.