Adder-Subtractor Circuit

adder

enter image description here

For the above question I got the answers:

a. SUM = 0110 | C = 1001

b. SUM = 0100 | C = 1010

Are these answers correct and how is the overflow calculated?

Best Answer

The first sum is correct, the carry C is just the but that comes from the sum of the most significant bits, in this case 1.

The overflow is straightforward to calculate once you know the values of C3 and C4 (C).

The second sum is wrong, probably because you didn't sum the carry in (M). The least significant bit of the sum becomes 1+1+1=1, then you can work it out from there.

Try these pointers, if you have further doubts add them to the question.