wiz-icon
MyQuestionIcon
MyQuestionIcon
2
You visited us 2 times! Enjoying our articles? Unlock Full Access!
Question

Not with standing overflow, the addition and subtraction of K-bit signed binary numbers can be realized using one K-bit full adder and

A
2-Input AND Gates
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
2-Input NOR Gates
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
2-Input OR Gates
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
2-Input XOR Gates
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
Open in App
Solution

The correct option is D 2-Input XOR Gates
Condition for overflow is checked when both the numbers are of same sign.
There is no overflow if result will be also of same sign.

If it is not the case then this overflow condition will be checked by using 2-input XOR gate.


Where Cin is carry to MSB.

Cout Carry generated after addition is performed at MSB.

if both are same then no overflow i.e. Y=0

if both are different then overflow i.e. Y=1

We can understand it as suppose both are -ve numbers. Then MSB will be zero for both.

If carry is there at MSB then Cin=1 and Cout=0 so Y=1 and MSB of result = 1 which is not zero so overflow.

If Cin=0, then Y=0, overflow also clear that MSB of result = 0.

flag
Suggest Corrections
thumbs-up
0
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
PM and Demodulation
PHYSICS
Watch in App
Join BYJU'S Learning Program
CrossIcon