CS 2700: Assembly Language and Computer Architecture

Spring 2024 - Homework 4

Due Wednesday, March 27, 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. The ecommerce site newegg.com is one (of many) that sells computer memory. Visit the website, find memory currently for sale. (Specifically, find memory suitable for installing into the motherboard of a desktop or laptop. Not memory cards or flash memory.) Include the full name newegg.com uses to describe the memory, plus the URL of the relevant newegg.com web page specific to that memory, in your homework. How big is the memory? How many bytes, specifically? (Answer the previous question without using MB, GB, TB shorthands.) Is the memory you found byte-addressable or word-addressable? Describe, specifically, how you determined this fact.
  2. Chapter 3, Exercise #30.
  3. Chapter 3, Exercise #32.
  4. Chapter 4, Exercise #5.
  5. Chapter 4, Exercise #6.
  6. Chapter 4, Exercise #12.
  7. Chapter 4, Exercise #19.