CS 2700: Assembly Language and Computer Architecture

Spring 2024 - Homework 2

Due Monday, February 26, 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. Chapter 2, Exercise #3.

  2. Chapter 2, Exercise #5.

  3. Chapter 2, Exercise #8.

  4. Chapter 2, Exercise #10.

  5. Chapter 2, Exercise #13.

  6. Chapter 2, Exercise #14.

  7. Show the following decimal numbers in binary, showing 8-bit signed magnitude, one's complement, and two's complement representation.

    1. 62
    2. -62
    3. 35
    4. -35
  8. Show the following decimal numbers in binary, showing 8-bit signed magnitude, one's complement, and two's complement representation.

    1. 77
    2. -77
    3. 46
    4. -46
  9. Look up the first (lowest Unicode value) letter in the alphabet of the following languages and write down that letter's hexadecimal value in Unicode. List the web site, book, or other source of information you used.

    1. Braille
    2. Ogham
    3. Gothic