## EE 308

Homework Assignment 1
Due Jan. 24, 2001

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. 100101102
2. 111111112
3. 10110110100110102

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. C216
2. 4F16
3. 245C16
4. A4116

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

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

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

7. Convert the following signed decimal numbers to 8-bit hexadecimal numbers.
1. 49
2. -49
3. 127
4. -128

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