Worksheet: Two's Complement Answers
- Convert the following base 10 numbers to 10 bit 2's complement:
- 00 0110 1011
- 11 0110 0111
- For each of the following 2's complement numbers, determine the sign of the
numbers, add them, and determine the sign of the sum:
- Both numbers are negative, the sum is negative, and there is no overflow:
1110101010
+ 1101011101
------------
1100000111
- Both numbers are positive, the sum is positive, and there is no overflow:
0011011101
+ 0001100101
------------
0101000010
- The first number is negative, the second number is positive,
the sum is negative, and there is no overflow:
1011110100
+ 0011010101
------------
1111001001
- For each of the following 16 bit 2's complement additions,
determine the sign of the
numbers, add them, determine the sign of the sum, and determine whether an
overflow occurred:
- Both numbers are positive, the sum is positive, and there is no overflow:
03A9
+ 49B2
------
4D5B
- The first number is negative, the second number is positive, the sum
is negative, and there is no overflow:
B403
+ 1357
------
C75A
- Both numbers are positive, the sum is negative, and there is overflow:
7F5E
+ 53BA
------
D318
Email Me |
Office Hours |
My Home Page |
Department Home |
MCC Home Page
© Copyright Emmi Schatz 2010