1100 (-3)
+0010 (+2)
----
1110 (-1)
. .
1100 (-3)
+1110 (-1)
----
1011 (-4)
. .
1100 (-3)
+0100 (+4)
----
0001 (+1)
The sum is negative in both of the first two cases, and positive in the
third. In the first addition, there are no carries, so the sum is
easy. In the second addition, there is a carry out of the two “1”
bits in the most significant value bit, which is added to the two sign
bits (both originally set) so that the final sign bit is still
set. The two sign bits, when added, also produce a carry, and
this carry is sent “around the end” to add back to the lowest value
bits (both zero in this case) so that the final sum has the low-order
bit set as well. The last case is similar: the two most
significant value bits produce a carry-out as well as a zero. But
this time, the carry is added to the (single) sign bit, giving another
carry but leaving the sign of the sum set to 0. The carry out of
the sign bit is brought around the end to add back in to the low order
bit.