Answered step by step
Verified Expert Solution
Question
1 Approved Answer
I had one of the 4 two compliment wrong and it was messing everything up, and I cant find out which it is. Values I
I had one of the 4 two compliment wrong and it was messing everything up, and I cant find out which it is. Values I had:
x=-16=110000
y=20=010100
-x=-(-16)=110000
-y=-(20)=101100
Prob. 9 (10pts) Given x=16 and y=20, use 6 -bit two's complement to compute the following: 9.a) zx+y 9.b]z=x 9.c)2z=x+y 9.d) z=xy Far each case, check for overtiow, and convert z to docimal First, we need to have the two's complement form of x,y,x and y to simplify cur caleulation lster (Eupecting breits he each of the onswer bax) x=16= twos romplarient y=20= twot rsmplatate x=(16)= tiariscminiment =(20)= twov comzarnert Question 23 9.al z=x+y z= tave oorplement (onswer box expecting b-bit input) coervert into decimal z= 10 Question 24 7a eperation is averflow True FilseStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started