Question: 6. Do the following arithmetic as if these were five-bit signed representations and indicate if overflow occurs and, if so, why. Note: Remember that you

6. Do the following arithmetic as if these were five-bit signed representations and indicate if overflow occurs and, if so, why. Note: Remember that you want to add. So, for signed subtraction, always convert the subtrahend (the number being subtracted) to its 2's complement and add it. Do this whether or not the subtrahend is negative OR positive and still check for overflow! (8 points) a. 10110 + 01101 b. 11001 + 00101 c. 10110 01101 d. 11111 01011 7. Assume that Register o contains 0007F144 Register 1 contains 00000128 Register 7 contains EC073508 Register 9 contains 00000022 If they are valid, calculate the absolute D(X,B) addresses for the representations below. If they are not valid, explain why. (12 points) a. 56(,1) b. 0(0,1,7) c. 6(7,0) d. 12 (9) e. 255(9,1) f. 11(1,7)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
