Question: = 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

= 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 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 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
To solve this follow the steps involving 2s complement arithmetic Step a Find 2s Complement Represen... View full answer
Get step-by-step solutions from verified subject matter experts
