CPSC 425 Spring 2006 
 HW 16: The Runtime Environment
Read Webber Chapter 12 and do the exercises below.
- Webber exercises 12.2-12.5.
 
- Consider the ML program below (Example 2 from the handout
in class):
 Trace the call f2 7 8 and draw  the runtime environment that
is created, including activation records with parameterss/local variables and
static links.  Use the rules we discussed
in class for setting up static links and and using static links to 
find memory locations for
non-local variables at runtime.  Something goes wrong.  What is it?  
Carefully explain the problem.