03-05-2012, 03:05 PM
COMPILATION PROCESS
Ashish COMPILATION PROCESS.pptx (Size: 76.6 KB / Downloads: 28)
INTERMEDIATE CODE
After the syntax analysis phase, parse tree is inputted to the internediate code generator.There can be many intermediate code dependent on the language.
Triples
Quadtriples
Post-fix notation
Indirect triples
CODE OPTIMISATION
Code optimisation include optimise code.An optimise code is helpful in the speed of execution of source program.
If intermediate code do not require optimisation it is optional for intermediate code.
CODE GENERATION
This phase converts intermediate optimise code into machine code.
Registers are allocated in this phase.