22/5/11
3
Code generation is typically
broken into several steps
1. Intermediate code generation
2. Generate some form of assembly code
instead of actual executable code
3. Optimization
To improve the speed and size of the target code
In this chapter, we will talk about general techniques of code
generation rather than present a detailed description for a
particular target machine