In this lecture we will start looking at the third
phase of the compiler: Code generation.
We start by looking at run-time organisation.
The slides for this lecture can be found here.
Watt & Brown, section 6.1 – 6.6, section 6.8 and
Appendix C.
Sebesta chapter 10.
Exercises for lecture 9 will be done from 12.30 till
14.15 before Lecture 10 on Tuesday the 5th of April.
The following exercises you may prefer to do on your
own, e.g. just after you have read the literature, and discuss the outcome with
your group:
The following exercises are best done as group discussions: