CS 2700: Assembly Language and Computer Architecture

Spring 2024 - Homework 5

Due Tuesday, May 21, 2024

This is an individual assignment. All work must be your own. You should not look at any other student's work (in whole or in part, on paper or on screen), nor allow anyone else to look at yours, during the course of this assignment. Nor may you submit the work of software programs as your own.

Turn in as hardcopy or upload to Canvas. (MS Word or PDF or plain text only, if uploaded. JPEG pictures of your work are ok, but photograph carefully. Good lighting, white background and dark writing.)

Unless specified otherwise, all questions are from "The Essentials of Computer Organization and Architecture, 5th Ed." by Null and Lobur. They are exercises, not review questions.

It is very important that you SHOW YOUR WORK. We practiced this in class and, as I mentioned then, almost all homework points will be attached to the work you show and not to the final number you come up with.

  1. Consider the simplified, 14-bit floating point number representation in the book. What are the following in base-2 scientific notation? (a.b x 2c) Carry your translation forward far enough there are at least one or two non-fractional numbers to the left of the radix point. (In a.b x 2c, a will be greater than zero in your answer.)

    Explain, in English, your process of translation, your logic.

    1. 01001011110000
    2. 10011110101000
    3. 00110011001000
  2. Consider the simplified, 14-bit floating point number representation in the book. Translate the following into that notation.

    Explain, in English, your process of translation, your logic.

    1. 510
    2. -1010
    3. .0312510

  3. Chapter 2, Exercise #45.
  4. Chapter 2, Exercise #47.
  5. Chapter 2, Exercise #51. (32 bits!)
  6. Chapter 3, Exercise #58. Grade will be based on the thoughtfulness of your description.
  7. Chapter 3, Exercise #60.
  8. Chapter 4, Exercise #44. (Write down the RTN in your answer.)