Solutions to Sample Exercises for Quiz 1

SPARC Architecture, Assembly Language Programming, and C (2nd Edition)

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Solutions to Sample Exercises for Quiz 1 Solutions to Sample Exercises for Quiz 1 Number Conversions, Signed Integer Representations, and Binary Addition How does one decorate a 31-year-old's birthday cake with only five candles? 31 = 11111 2 Perform the following number system conversions: 1101011 2 = 107 10 F3A5 16 = 62373 10 174003 8 = 63491 10 AB3D 16 = 43837 10 10110111 2 = 183 10 7156 8 = 3694 10 Perform the following number system conversions: 1101011 2 = 6B 16 174003 8 = 1111 1000 0000 0011 2 10110111 2 = B7 16 F3A5 16 = 1111 0011 1010 0101 2 11011001 2 = 331 8 AB3D 16 = 1010 1011 0011 1101 2 Perform the following number system conversions: 125 10 = 0111 1101 2 3489 10 = 6641 8 209 10 = 1101 0001 2 9714 10 = 22762 8 132 10 = 1000 0100 2 23851 10 = 5D2B 16 57190 10 = DF66 16 1435 10 = 2633 8 65113 10 = FE59 16 Add the following pairs of binary numbers, showing all carries: Carries: 1 100010 1 011000 1 11111110 1 1000000 110101 101110 11011101 1110010 +11001 +100101 +1100011 +1101101
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This homework help was uploaded on 02/11/2008 for the course CSE 30 taught by Professor Ord during the Winter '08 term at UCSD.

Page1 / 3

Solutions to Sample Exercises for Quiz 1 - Solutions to...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online