All numbers in this problem are 6bit signed numbers in twos

All numbers in this problem are 6-bit signed numbers in two\'s complement representation. Let C = 110100 and D = 010011. Compute C + D and show the sum. then take the two\'s complement of the sum to negate it. Take the two\'s complement of C and the two\'s complement of D to negate them. Then add the two resulting values.

Solution

a)

C= 1 1 0 1 0 0

D= 0 1 0 0 1 1

------------------------------

0 0 0 1 1 1

carry=1

1000111

1s compliment is 0111000

2s compliment is 0111001

B)

C= 1 1 0 1 0 0

1s compliment of C is 001011

2s compliment of C is 001100

D= 0 1 0 0 1 1

1s compliment of D is 101100

2s compliment of D is 101101

2s compliment of C is 001100

2s compliment of D is 101101

------------------

1110 01

carry=0

 All numbers in this problem are 6-bit signed numbers in two\'s complement representation. Let C = 110100 and D = 010011. Compute C + D and show the sum. then t

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site