CSCI 1320 Homework One Fall 2010 Name:_____________________________________________ Please print this sheet and fill in the blanks. Remember that you are doing arithmetic like the computer does. Halfword or (full)word signed arithmetic using complements. All answers should be expressed in hexadecimal with the appropriate number of digits unless otherwise indicated. You may show computations at the right or attach a separate paper with your computations. 1. What is the negative of the halfword 3AB6? 2. What is the negative of the fullword 00003AB6? 3. What is the negative of the fullword 00000001? 4. Find the sum of the halfwords: 34A3 BBBF _____ 5. Convert the halfword 3AB6 to decimal. 6. Convert the fullword 00003AB6 to decimal. 7. Convert the halfword FFFA to decimal. 8. What is the negative of the halfword FFFA? 9. Find the sum of the halfwords AAB6 FFFF _____ 10. What is the fullword equivalent of the halfword 234C? 11. What is the fullword equivalent of the halfword FFFB? 12. Convert the decimal number 123 to a halfword. 13. Convert the decimal number 123 to a fullword. 14. Convert the decimal number -123 to a halfword. 15. Convert the decimal number -123 to a fullword. 16. Convert the halfword FFFF to decimal. 17. Convert the binary halfword to hexadecimal: 1011 0010 1111 0101 18. Is the converted number in exercise 17 positive or negative as a halfword? 19. Convert the halfword 3CCD to binary. 20. Is the number in exercise 19 positive or negative? 21. What is the largest positive halfword that can be represented using this complemented representation? Express your answer in both hexadecimal and decimal. 22. What is the smallest (most negative) halfword that can be represented using this complemented representation scheme? Express your answer in both decimal and hexadecimal. 23. What is the largest positive (full)word that can be represented using this complemented representation? Express your answer in both hexadecimal and decimal. 24. What is the smallest (most negative) (full)word that can be represented using this complemented representation scheme? Express your answer in both decimal and hexadecimal.