## EE 308

Homework Assignment 1
Due Jan. 26, 2000

Note: All the following problems can be easily done with a calculator. However, be sure that you are able to do them by hand, as calculators will not be allowed on the first exam. I suggest you do them by hand, and use a calculator to check your answers.

1. Convert the following binary numbers to their hexadecimal equivalents:
1. 110110112
2. 111111112
3. 01101001012
4. 01011011000101012

2. Convert the numbers of Problem 1 to their unsigned decimal equivalents.

3. Consider the following hexadecimal numbers as unsigned. Find their decimal equivalents:
1. D316
2. 5A16
3. 3DA916
4. 4C216

4. Convert the following unsigned decimal numbers to their 16-bit hexadecimal equivalents:
1. 521810
2. 82510
3. 6553510

5. Consider the following hexadecimal 8-bit numbers as unsigned. Find their decimal equivalents:
1. 0xFF
2. 0x27
3. 0xA3
4. 0x80

6. Repeat Problem 5, considering the numbers as signed.

7. Convert the following signed decimal numbers to 8-bit hexadecimal numbers.
1. Skip part (a)
2. 57
3. -57
4. 127
5. -128

Bill Rison, <rison@ee.nmt.edu >