



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
homework solutions of some assignments from jacob savir's ece 251 course
Typology: Exercises
1 / 5
This page cannot be seen from the preview
Don't miss anything!




ECE251 Digital DESIGN
66 0 33 1 16 0 8 0 4 0 2 0 1 1 0
Therefore, the 2โs complement representations of +66 and โ66 using 8-bits are:
,
1.()b Long division:
Therefore,.
1.()c Long division:
72 0 36 0 18 0 9 1 4 0 2 0 1 1 0
Therefore, the 2โs complement representations of +72 and โ72 using 8-bits are:
,.
1.()d Long division:
55 1 27 1 13 1 6 0 3 1 1 1 0
Therefore,.
, ,
The addition:
To check if the result represents โ17, we complement it and verify that it represents +17:
The 2โs complement of 11101111 is 00010001, which has the value +17.
Expected
Carries
Discard overflow bit
The result is 10000001. To verify that it represents โ127, we complement it and verify that we get +127. The complemented pattern is 01111111 which, in fact, has the value of 127.
LHS 000 0 0 0 0 001 0 0 0 0 010 1 0 0 1 011 1 0 0 1 100 0 1 0 1 101 0 1 0 1 110 0 0 0 0 111 0 0 1 1
Since LHS=RHS, the proposition is proved.