EE 308

Homework Assignment 1
Due Jan. 23, 1998

  1. Problem EA.1 from the text (page 487).
  2. Problem EA.3 (a) (b) (c) from the text (page 487). Assume the numbers are unsigned.
  3. Problem EA.7 from the text (page 488).
  4. Consider the following hexadecimal 8-bit numbers as unsigned. Find their decimal equivalents:
    1. 0xA2
    2. 0xCA
    3. 0x15
    4. 0x80
  5. Repeat Problem 4, considering the numbers as signed.
  6. Consider the hexadecimal 8-bit numbers below. Do the indicated additions, and find the 8-bit result. Determine if a carry resulted. Determine if an overflow resulted. Convert the operands and results to decimal numbers, and indicate if the results are correct. (Do the last part twice, first assuming the numbers are unsigned, then assuming the numbers are signed.)
    1. 0x23 + 0x3C
    2. 0x3A + 0x61
    3. 0x92 + 0x83
    4. 0xD2 + 0x61
  7. Subtract the following 8-bit numbers. Was a carry generated? Was an overflow generated? Convert the operands and results to decimal numbers, and indicate if the results are correct. (Do the last part twice, first assuming the numbers are unsigned, then assuming the numbers are signed.)
    1. 0x4B - 0x17
    2. 0x41 - 0x7A
    3. 0x81 - 0x20
    4. 0x55 - 0xB2
  8. Problem E1.8
  9. Problem E1.10
  10. Problem E1.11


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