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.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here