Assignment 4, due Sept 17

Part of the homework for 22C:60, Fall 2004
by Douglas W. Jones
THE UNIVERSITY OF IOWA Department of Computer Science

Always, on every assignment, please write your name legibly as it appears on your University ID and on the class list! All assignments will be due at the start of class on the day indicated, and unless there is what insurance companies call "an act of God" - something outside your control; the only exceptions to this rule will be by advance arrangement.

  1. Do, from Chapter 4, exercises i), k), m) and t). For some of these, if you wish to check your work using the SMAL assembler and Hawk emulator, you are welcome to do so, but the assignments do not require this.

  2. Do, from Chapter 5, exercises a) and b).

  3. Turn in an assembly listing, of the hello-world program from Chapter 5, with the program modified so that the title contains your name and the message "Hello world!" is changed to include your name; if you enter this text in a file called hello.a, your listing should be of hello.l. Make sure the listing is printed using a fixed-width typewriter-style font (courrier is the traditional font for this purpose), so that the columns line up properly.