Homework 2

22C:50 Section 2, Fall 2000

Due Wednesday Sept 6, 2000, in class

Douglas W. Jones

  1. Do problem 2 at the end of Chapter 3.

  2. Do problem 6 at the end of Chapter 3.

  3. Do problem 7 at the end of Chapter 2 and problem 10 parts a and b from the end of chapter 3. Combine your answers into one code fragment. You may change things into the language of your choice, and you are not required to compile and execute your code, but only to patch the code that was given to operate as required.

Advance Warning of Machine Problem 1

The machine problem will be to write an assembler for the sample assembly language, using:

You may code this in any programming language.