|
II. Programming exercise: Due by noon on Friday, September 15, 2006
Consider the SIC program given on page 45 and assembled on page 47.
- You should experiment with different breakpoints, count settings (use 1 to single step), and
observation via dumps as to what the program is doing from both the step-by-step and "in the large"
points of view.
Note that the file (DEV05) output by the program is different from the one input (why? - you must
explain this in the Testing and/or the Assessment
sections of your general write-up).
When you are confident of the process, remove the sic.log file and do a final run with the
above specs, then move the resulting sic.log file to
<student-id>-1.sic.log
Construct Word documentation as specified on the
assignments page (remember that the naming convention calls
for you to name your documentation file <student-id>-1.doc).
You may "crib" off the example given on the assignments page, but do not plagiarize it. Your documentation file
needs to include an appendix derived from each of your
- object file (<student-id>-1.obj)
- input file (<student-id>-1.in)
- output file (<student-id>-1.DEV05)
- log file (<student-id>-1.sic.log)
|
You will need to produce a commented listing of source/object corresponding to your object file,
in particular. All appendices should include appropriate annotations.
Be sure to
- add comments to each line of your source file
- comment your log file, explaining (in italics) what is in the dumps (registers and memory);
a small amount of highlighting can be used to minimize the commenting that would otherwise be needed.
|
In general, computer generated listings included as appendices may be edited.
Just be sure to italicize any text that you add to the listing to distinguish it
from what the computer has produced and use the Courier
font for all computer generated text.
|
|
Use the submit shell script (which you should have already copied
from /usr/public/cop3601/cwinton) to "shar" your
- documentation (<student-id>-1.doc)
- object code file (<student-id>-1.obj)
- data file (<student-id>-1.in)
- output file (<student-id>-1.DEV05)
- log file (<student-id>-1.sic.log).
and "turnin" by noon on Friday, September 15 to cnw.3601.1. Late submissions can be submitted
until the due date for the next assignment via submit to cnw.3601.1L (late points
assessed as stipulated on the assignments page).
|