Microprocessor Systems and Programming ET0708
Tutorial 1
Note: Use a calculator ONLY for checking your answer
1. Fill in the blanks.
Dec Bin Hex 5. How many stars are there? Give your
16 answer in decimal and hexadecimal.
20
28
1000 0000
64
0001 1010
100
0111 1111
100
2. Determine the next number in the
count sequence for each of the following
hexadecimal numbers : 6. What is the binary and hexadecimal
representation of -1 in 8 bits and 16 bits
a) 2E format?
b) 9F
c) FF
d) 2FFF
7. Add 2 hexadecimal numbers
3. Convert the following hexadecimal
numbers to decimal 1 8 3 C
a) 2C 2 8 6 5+
b) A09 -------------
c) FF
d) FFFF
8. Subtract 2 hexadecimal numbers
4. Convert the following decimal
numbers to hexadecimal. 2 8 3 C
a) 39 1 8 6 5-
b) 94 ------------
c) 256
DEC 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
HEX 1 2 3 4 5 6 7 8 9 A B C D E F 10