Programming Languages and
Compilers
Lecture 9
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.
Literature
Watt & Brown, section 6.1 – 6.6, section 6.8 and
Appendix C.
Sebesta chapter 10.
Exercises
Exercises for lecture 9 will be done from 12.30 till
14.15 before Lecture 10 on Thursday the 25th of March.
- Do Watt and Brown exercise 6.1 page 240
- Do Watt and Brown exercise 6.2 page 241
- Do Watt and Brown exercise 6.3 page 241
- Do Watt and Brown exercise 6.6 page 242
- Do Watt and Brown exercise 6.13 page 244
- Do Watt and Brown exercise 6.15 page 244
- Do Watt and Brown exercise 6.16 page 244
- Do Watt and Brown exercise 6.19 page 246
- Do Sebesta exercise 10.4 page 425
- Do Sebesta exercise 10.5 page 425