Question: The following binary numbers are all represented using 4 - bit signed 2 ' s complement. All addition and subtraction should also be conducted in

The following binary numbers are all represented using 4-bit signed 2's complement. All addition and subtraction should also be conducted in 2's complement form. \(\mathrm{A}=1101 ; \mathrm{B}=0110\)
(a) What is the range of numbers that a 4-bit signed 2's complement system can correctly represent?
(b) What is A's value in decimal?
(c) What is B's value in decimal?
(d) Perform addition \(\mathrm{C}=\mathrm{A}+\mathrm{B}\). What is C in 4-bit signed 2's complement form? Is there overflow? Is the calculation correct?
(e) Perform subtraction \(\mathrm{D}=\mathrm{A}\)-B. What is D in 4-bit signed 2's complement form? Is there overflow? Translate A, B, D into their decimal values. Is the calculation correct?
The following binary numbers are all represented

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 Programming Questions!