Question: 6. (6 points) For the decimal numbers A = -17 and B = 21, calculate A-B using only 6 bits in 2s complement by following

6. (6 points) For the decimal numbers A = -17 and B = 21, calculate A-B using only 6 bits in 2s complement by following the steps below. Clearly indicate your 6-bit result and analyze whether or not it is correct by inspecting overflow. (a) Find 2s complement representations of A and (-B) using 6 bits (b) Do 2s complement addition A + (-B), where both numbers are represented with 6 bits 2s complements (c) After handling with carryout, check possible overflow to decide if 6 bits is enough6. (6 points) For the decimal numbers A = -17 and B

6. (6 points) For the decimal numbers A =-17 and B = 21, calculate A-B using only 6 bits in 2's complement by following the steps below. Clearly indicate your 6-bit result and analyze whether or not it is correct by inspecting overflow. (a) Find 2's complement representations of A and (-B) using 6 bits (b) Do 2's complement addition A + (-B), where both numbers are represented with 6 bits 2's complements (c) After handling with carryout, check possible overflow to decide if 6 bits is enough

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!