
Mumber Systems 13
terminals. The IBM PC, which does not use the 68000, makes extensive
use of such an extended character set. You should be aware that these
special character sets are not part of the ASCII standard, when you use
these codes, your programs will not necessarily be useful on all comput
ers, even though they use the 68000 microprocessor.
Exercises
1. Binary numbers are based on powers of_________
2. Give the decimal equivalent of the following binary numbers: a)
11100010 b) 111111 c) 10000000
3. Convert the following decimal numbers to binary: a) 126 b) 255
c) 100
4. Convert the following binary numbers to hexadecimal: a) 11111111
b) 10000 c) 11000101
5. Convert the following hexadecimal numbers to binary: a) 55 b)
AB c) EE
6. Give the decimal equivalent of the following hexadecimal numbers:
a) FF b) 55 c) DE
7. Perform the following binary additions:
a) 110000 b) 01111
+ 001111 + 11100
8. Perform the following hexadecimal additions:
a) FFAA b) 0123
+ A100 + A5EE
9. Perform the following binary subtractions:
a) 11111 b) 11001
- 00101 - 10000
10. Perform the following hexadecimal subtractions:
a) FFFF b) 12AA
- AAAA - 02AB
11. How many bits are there in a byte?
12. How many bytes are contained in a 68000 word?
13. The 68000 uses what method to represent negative numbers?
14. Which bit is the sign bit?
15. If a number is negative, what is the binary value of the sign bit?
16. Convert the binary number 00111101 to an equivalent negative num
ber.
17. What is the decimal equivalent of 11110000 in signed binary?
18. What is the equivalent of —100 decimal in a signed hexadecimal byte?
19. What number bases are convenient to use when programming the
68000?
Comments to this Manuals