Add +13 and -9 using two's complement

1 answer

To add +13 and -9 using two's complement:

1. Convert both numbers to binary representation:
+13 = 00001101
-9 = 11110111

2. In two's complement, we can add numbers as usual, including the sign bit.

00001101 (+13)
+ 11110111 (-9)
_______________
= 000001100
^
|
|
Overflow

3. Since the result consists of 9 bits, and we are only using 8 bits, it overflows and we ignore the leftmost bit.

= 00001100

Therefore, +13 + (-9) = +12 in two's complement.
Similar Questions
  1. Trick question?Suppose m<A=77 degrees. What is the measure of a complement of a complement <A? Explain. a complement of angle 77
    1. answers icon 1 answer
    1. answers icon 0 answers
    1. answers icon 1 answer
  2. Read the definition.complement (noun) - something that contributes features that improve or flatter Which sentence uses this
    1. answers icon 1 answer
more similar questions