You are on page 1of 1

CS 2420 HOME WORK

1. Complete the table below:

Decimal Signed 1’s Signed 2’s Sign- 7’s 8’s 15’s 16’s
Complement Complement Magnitude Complement Complement Complement Complement
+5
-5
+37
-42
+42

2. Perform the following arithmetic operations using (R-1)’s and R’s complement:
a. 11010012 – 10010012
b. 1001112 – 1110002
c. 34568 – 12348
d. 12538 – 33678
e. 4569716 – A2516
f. 2589 – F4D516

You might also like