Assignment 4, due Feb 21

Part of the homework for 22C:60, Spring 2005
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. From chapter 5 of the notes, do problem b, g, j, o, q (0.4 each).

  2. Make the hello-world program from the notes work, with the following modifications:

    Prove that you got it to work by turning in an assembly listing (see the notes in assignment 2 on how to do this) and a screen-shot of the output (cut and paste from the terminal window).

Machine Problem I, due Feb 25

In the spirit of chapter 2, exercises s through v, write code that outputs the following on the screen:

        ABCDE
	B
	C  Your Name
	D
	E

This pattern can be anywhere on the output area of the screen. The pattern of letters must be formed with a single definite loop, while the part that outputs your name can be lifted verbatim from the final problem above.

Your source file must be named exactly mp1.a (lower case!) and the TITLE in the source file must say MP1 followed by your name. You must submit your solution from the departmental Linux cluster. You must use the submit command to submit your solution. It will prompt for the course (c060) choice (mp2) and file (mp2.a).