|
The next assignment -- on runtime storage -- is quite short: only 1 exercise
from the book, and some very little coding in the project. It makes sense to
collapse them into one assignment, which is due the day before the
Thanksgiving break.
The exercise will give you practice in parameter calling conventions. It's 7.6, parts abc. There is one case in which the order of assignment of actuals to formals influences the value that is printed. So you should be careful to state your assumptions about the order. For the project, implement storage layout for the extended PL/0 language. Run the extended compiler with the "-r -R" options to print the runtime space allocation. The files you need to edit (and therefore turn in printouts of) are symtab.c and type.h. As usual, turn in your whole directory electronically, and following the Printing Instructions. For every other project, you've been asked to write a description of the test cases you've tried, but this assignment is so short that you don't need to bother. For the project after this one you'll have to write test cases again. |
![]()
401admin at cs.washington.edu (Last modified: 11/25/96)