COMS W4115
Programming Languages and Translators
Lecture 20: Code Generation Algorithms
April 10, 2013

1. Target Machine

2. Names to Addresses

3. Computing Next-Use Information

4. A Simple Code Generator

5. Optimal Code Generation for Expression Trees

6. Practice Problems

  1. ALSU, Exercise 8.2.5 (p. 517).
  2. ALSU, Exercise 8.10.2 (p. 573).

7. Reading



aho@cs.columbia.edu