+14 votes
2k views

In $2's$ complement addition, overflow

1. is flagged whenever there is carry from sign bit addition
2. cannot occur when a positive value is added to a negative value
3. is flagged when the carries from sign bit and previous bit match
4. None of the above
asked
edited | 2k views

## 1 Answer

+33 votes
Best answer

(B) is the answer. When a positive value and negative value are added overflow never happens.

http://sandbox.mc.edu/~bennet/cs110/tc/orules.html

answered by Veteran (395k points)
selected
+1
Overflow can when 2 postive value are added and it result in a negative value and vice versa . so overflow falg is set .
0
means?
0
Sir , in case of unsigned numbers .. 2's complement addition of a positive and negative number can yield an overflow .

Here nothing is given about signed or unsgned numbers .. so what will be the answer ?

None of the above?
+1
In Morris mano, it is given that in case of signed numbers overflow can occur when the carry from priveous bits and current bits are different...
Answer:

+19 votes
3 answers
1
+19 votes
4 answers
2
+17 votes
4 answers
3
+17 votes
3 answers
4
+32 votes
2 answers
5
+15 votes
3 answers
6
+5 votes
0 answers
7