0 votes 0 votes what is the probability of overflow occurring in addition of two 3-bit signed 2's complement number? Shyam451 asked Sep 14, 2017 Shyam451 358 views answer comment Share Follow See 1 comment See all 1 1 comment reply sourav. commented Sep 14, 2017 reply Follow Share $\frac{1}{4}$ –1 votes –1 votes Please log in or register to add a comment.
0 votes 0 votes In 2's compliment arithmetic, overflow occurs when Cin XOR Cout = 1 Possible values of CinCout are 00, 01, 10 and 11 Overflow will occur for 2 out of these 4 cases. Therefore probablity = 2/4 = 1/2 rishi71662data4 answered Sep 14, 2017 edited Sep 15, 2017 by rishi71662data4 rishi71662data4 comment Share Follow See all 3 Comments See all 3 3 Comments reply Shyam451 commented Sep 14, 2017 reply Follow Share when you are considering overflow for two cases out of four then it should be 2/4. 0 votes 0 votes Ashwani Kumar 2 commented Sep 14, 2017 reply Follow Share Overflow occurs only in the case when last two carry bits differ as in 01 and 10 out of 4 combination. Hence 2/4 0 votes 0 votes rishi71662data4 commented Sep 15, 2017 reply Follow Share Yes. Did Stupidity there 0 votes 0 votes Please log in or register to add a comment.