edited by
2,224 views
0 votes
0 votes
two 2's complement nos. having sign bits x and y are added and the sign bit of result is z. Then the occurrence of overflow is indicated by the expression???

The answer is given as x'y'z + xyz' .

As far as I know, Overflow is indicated by Cn XOR C(n-1).

So, here Cn is 'z' and C(n-1) is x+y . Whose XORing gives me.. x'y'z + xz' + yz'.
edited by

1 Answer

3 votes
3 votes
overflow will occur when sign of z is different from x and y

ie x y 0 and z 1 or  x y 1 and z=0

that gives x'y'z+xyz'

Related questions

1 votes
1 votes
0 answers
1
Gupta731 asked Nov 9, 2018
1,071 views
Let X = X2X1X0 and Y= Y1Y0 be unsigned positive 3 digit and 2 digit numbers respectively. The output function 'f' = 1 only when X>Y otherwise '0'. Then the value of outpu...
2 votes
2 votes
1 answer
3
Epsilon95 asked May 10, 2017
1,248 views
From the 7 symbols (0-6) how many different codes we can construct?(a) 8! (b) 8(c) 7! (d) 7 provide an explanation, answer is (a)