CO2008w3t

advertisement
Computer Organisation 1 Week 3 Tutorial Questions
www.csis.ul.ie/modules/cs4211
Pure Binary:
1. Add 1001 to 0011.
2. add 1000 1101 to 0001 0111
3. add 1001 0110 to 1100 0111.
Translate the numbers above to hexadecimal and repeat the additions. Check you are
correct by translating to decimal.
Pure Binary:
4. Subtract 0011 from 1011
5. Subtract 0010 from 1000
6. Subtract 0001 0111 from 1000 0011
7. Subtract 0110 1111 from 1111 0000
Translate the numbers above to hexadecimal and repeat the subtractions.
Pure Binary:
8. Multiply 1101 by 11
9. Multiply 1000 by 1101
10. Multiply 1001 1100 by 1001
11. Multiply 0011 1110 by 0000 0110
Translate the numbers above to hexadecimal and repeat the calculations.
12. What is the maximum decimal integer that can be held as a pure binary 6 bits?
10 bits?
13. What is the two’s complement byte representation of 23, -5, 127, -1, -128,
132?
14. Tabulate the twos complement values in a 6-bit representation.
Download