Lecture 13: Code Generation for Register Machines
Remarks:
- today we talk about machine code generation
Overview of an Optimizing Compiler
Recall the Stack Machine: VM for Expressions
Control-Flow Graph to Assembly with Global Variables
Register Allocation using Liveness Information
Memory Layout for Compiled Program
Stack Frames and Procedure Calls
References
- Compiler Construction by Niklaus Wirth, chapters 9,10, 11
- Tiger book, Chapters 7-11