Two’s-complement addition works like ordinary binary addition, but you must pay attention to the fixed bit-width and the sign bit.
Write the numbers in the same number of bits. Add from right to left just as in decimal addition, carrying when needed.
In two’s-complement, the result is interpreted using the same fixed number of bits as the inputs. If a carry goes beyond the leftmost bit, discard it.
Leave the result in its final two’s-complement form unless the exercise asks for a decimal value.
A useful check is to convert the result to decimal and verify that it matches the sum of the original values, as long as the addition stays within the representable range. If the result seems inconsistent, recheck the carries and the bit-width used.
© 2023-2026 AI MATH COACH