csci 10 :: book learning challenge 3 (due mon, sep 12)
Submitting your work:

Complete this exercise on your own.

Fill in all of the "Answer" boxes, then print the answer grid that you see after you press "Prepare for printing".

Staple all pages together and submit to the instructor on the date listed above.

Questions:

Read Art of Assembly V1 2.7, V1 2.10, V1 3.2, V1 3.3, V1 3.4 and answer the following:

Your name:
  1. List the eight (8) 32-bit general purpose registers described in your text in section 1.6.
    Answer:
  2. List the eight (8) addressable 16-bit segments of the general purpose registers you listed in your answer for question #1 above.
    Answer:
  3. List the addressable 8-bit register segments of the general purpose registers EAX, EBX, ECX, and EDX.
    Answer:
  4. Briefly describe the EFLAGS register. List the four (4) EFLAGS register bits that your book says are "extremely valuable" to assembly language programmers. What is the term used to describe these four (4) "extremely valuable" bits?
    Answer:
  5. Convert the following base-10/decimal value to base-2/binary representation. Use the formatting style presented in your text -- extend the bits to the nearest of 8, 16, or 32, and insert an underscore between each section of 4 bits. Precede the base-2/binary value with %.
    97
    Answer:
  6. Convert the following base-10/decimal value to base-2/binary representation. Use the formatting style presented in your text -- extend the bits to the nearest of 8, 16, or 32, and insert an underscore between each section of 4 bits. Precede the base-2/binary value with %.
    1337
    Answer:
  7. Convert the following base-10/decimal value to base-16/hexadecimal representation. Extend to the nearest of 2, 4 or 8 characters. Precede the base-16/hexadecimal value with $.
    2434
    Answer:
  8. Convert the following base-10/decimal value to base-16/hexadecimal representation. Extend to the nearest of 2, 4 or 8 characters. Precede the base-16/hexadecimal value with $.
    90125
    Answer:
  9. Convert the following base-2/binary value to base-16/hexadecimal representation. Extend to the nearest of 2, 4 or 8 characters. Precede the base-16/hexadecimal value with $.
    %1101_1011
    Answer:
  10. Convert the following base-16/hexadecimal value to base-2/binary representation. Use the formatting style presented in your text -- extend the bits to the nearest 8, 16, or 32, and insert an underscore between each section of 4 bits. Precede the base-2/binary value with %.
    $DAFF
    Answer:
  11. Convert the following base-2/binary value to base-10/decimal representation.
    %1001_1111
    Answer:
  12. Convert the following base-2/binary value to base-10/decimal representation.
    %1111_0101
    Answer:
  13. Convert the following base-16/hexadecimal value to base-10/decimal representation.
    $F1
    Answer:
  14. Convert the following base-16/hexadecimal value to base-10/decimal representation.
    $1337
    Answer:
  15. How many bits are present in each of the following: nibble, byte, word, double word, quad word, long word? What are the "partially untyped" or "raw data" data types used in HLA to store these sizes (except for nibble, for which there is no HLA type)?
    Answer:

Total points for this book learning challenge:

150 points