




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
Solutions to problems related to binary arithmetic and conversions from decimal to hexadecimal, octal, and two's complement for a given set of binary numbers. It covers the computation of hexadecimal and octal equivalents, decimal equivalents for signed numbers, binary addition and subtraction, and turning a given bit pattern into its decimal equivalent.
Typology: Study notes
1 / 8
This page cannot be seen from the preview
Don't miss anything!





a = 0110 1001 0001 1101 b = 0011 1010 1100 1000!
! a = 0110 1001 0001 1101 = 69 1Dhex! ! b = 0011 1010 1100 1000 = 3A C8hex!
! a = 0 110 100 100 011 101 = 64,435octal! ! b = 0 011 101 011 001 000 = 35,310octal!
26,909ten!
15,048ten!
1010 0011 1110 0101 overflow!
! a = 0110 1001 0001 1101! ! b = 0011 1010 1100 1000!
1100 0101 0011 0111 Invert step!
0010 1110 0101 0101 no overflow
! a = 1011 0011 1110 0110! b = 1100 1010 0101 1000!
a = 1011 0011 1110 0110 = B3 E6hex! b = 1100 1010 0101 1000 = CA (^58) hex
a = 1 011 001 111 100 110 = 131,746octal b = 1 100 101 001 011 000 = 145,130octal
0100 1100 0001 1001 Invert step!
0011 0110 1000 1100 1001 0100 1001 1110 invert step!
Answer:! -915,182,751 (^) ten!
Answer:! 3,379,784,545 (^) ten!
c.)! S Expo nent Sig nifi cand! 1 1001 0001 111 0011 1110 1011 0110 0001! 1 1001 0010 111 0011 0110 1011 0110 0001 new!
S = 1, a negative number!
Exponent = 1001 0010 = 27 + 24 + 20 = 128 + 16 + 2 = 146!
0.0 done!!
sign is 1, since the number is negative! exponent = 13 + 127 = 140 = 1000 1100! significand = 011 0001 0011 1010 0111! ! S Expo nent Sig nifi cand! 1 1000 1100 011 0001 0011 1010 0111 0000!
S Exp onen t Significand! 1 100 0000 1100 0110 0010 0111 0100 1110 0000 0000! 0000 0000 0000 0000 0000 0000!