Binary 2’s Complement
Result
—
Binary 2’s Complement
Compute the 2’s complement representation and conversions.
Conversion
Two's complement (N-bit signed): if MSB=0 value = unsigned; if MSB=1 value = unsigned - 2^N. To compute negative: invert bits and add 1. Example (4-bit): 1011 → invert 0100 + 1 = 0101 → value = -5