Programming Languages and Compilers

 

Lecture 10

 

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, chapter 6 and Appendix C.

 

Exercises

 

Exercises for lecture 10 will be done from 8.15 till 10.00 before Lecture 11 on Wednesday the 30th of April.

 

  1. Do Watt and Brown exercise 6.1 page 240
  2. Do Watt and Brown exercise 6.3 page 241
  3. Do Watt and Brown exercise 6.6 page 242
  4. Do Watt and Brown exercise 6.13 page 244
  5. Do Watt and Brown exercise 6.15 page 244
  6. Do Watt and Brown exercise 6.16 page 244
  7. Do Watt and Brown exercise 6.19 page 246