Question: 2's complement often used to encode negatives since can add positive/negatives values without changing how binary addition works. E.g., adding two positive numbers [(23) 10

2's complement often used to encode negatives since can add positive/negatives values without changing how binary addition works.

E.g., adding two positive numbers [(23)10 and (87)10]:

 1 111 00010111 +01010111 01101110

From right-to-left:

  1. 1 + 1 = (10)2: bring down 0, carry 1
  2. 1 + 1 + 1 = (11)2: bring down 1, carry 1
  3. 1 + 1 + 1 = (11)2: bring down 1, carry 1
  4. 1 + 0 + 0 = (1)2: bring down 1, no carry (carry is zero)
  5. 1 + 1 = (10)2: bring down 0, carry 1
  6. 1 + 0 + 0 = (1)2: bring down 1, no carry
  7. 0 + 1 = (1)2: bring down 1, no carry
  8. 0 + 0 = (0)2: bring down 0, no carry

Add following positive and negative (2's complement) binary numbers:

 00110011 +10110000

Fill in following information:

  • First (top) number in base 10:
  • Second (bottom) number in base 10:
  • Result of addition in binary:
  • Result of addition in base 10:

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!