Let’s first convert both binary numbers into decimal (two’s complement form):
Add them:
$A + B = -103 + (-41) = -144$
Now, in 8-bit two’s complement, the range is $-128$ to $+127$. Since $-144$ is out of range, overflow occurs.
But let’s compute the 8-bit result (ignoring overflow):
$10011001 + 11010111 =$
10011001
+ 11010111
= 101110000 (9 bits)
Drop the carry beyond 8 bits → 01110000.
Therefore, the resulting 8-bit binary value is:
✅ Result = 01110000₂
(Overflow occurred, actual signed result would have been −144, but the 8-bit stored value is +112.)
Online Test Series, Information About Examination,
Syllabus, Notification
and More.
Online Test Series, Information About Examination,
Syllabus, Notification
and More.