Machine Problem 1

22C:18, Fall 1996

Due Monday June 23, 1997, in class

Douglas W. Jones

Take the "hello world" example from the notes for Lecture 10 and modify the program as follows:

Turn in an assembly listing of your modified program and a list of the values in registers at the time the Hawk computer halts after executing your program. The latter will be taken as proof of execution!

You are free to go beyond the terms of this assignment, for example, by exploring other features of the minimalist Hawk operating system, such as the DSPAT routine that allows you to position your output somewhere other than the upper left of the screen.

The primary purpose of this assignment, as with all "hello world" assignments in other programming languages, is to get you up to speed in the basics of writing and running programs and not to explore in any depth the features of the assembly language we are using.