asked 139k views
4 votes
Suppose you are working with 4 bit 2's complement signed numbers. Which pairs of numbers, if added, will produce the wrong result (overflow).

asked
User Mardo
by
8.5k points

1 Answer

5 votes

Answer:

-6 and -3

Step-by-step explanation:

4 bit 2's complement can represent numbers between -8 and +7.

Overflow can occur if the result is greater than 7 or less than -8.

If two numbers with the same sign positive or negative are added and the result gives an opposite sign,an overflow has occurred

answered
User Harrison Cramer
by
8.3k points
Welcome to Qamnty — a place to ask, share, and grow together. Join our community and get real answers from real people.