Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Design And Implementation

Authors: Edward Sciore

2nd Edition

3030338355, 978-3030338350

More Books

Students also viewed these Databases questions

Question

Question Can any type of stock or securities be used in an ESOP?

Answered: 1 week ago