Compiler
Construction
1
,Intermediate Code Generation
Intermediate code generation.
It is the first phase of back end of compiler
and the 4th phase of compilation process .
it is created from parse tree of compiler.
After intermediate code the code
optimization procedure is used.
2
, Intermediate Code Generation
Why we need intermediate code.
We need an intermediate machine code
because .
If compiler directly translate the source code
into machine code without intermediate
code ,
then for each new machine a full native
compiler is needed.
3
Construction
1
,Intermediate Code Generation
Intermediate code generation.
It is the first phase of back end of compiler
and the 4th phase of compilation process .
it is created from parse tree of compiler.
After intermediate code the code
optimization procedure is used.
2
, Intermediate Code Generation
Why we need intermediate code.
We need an intermediate machine code
because .
If compiler directly translate the source code
into machine code without intermediate
code ,
then for each new machine a full native
compiler is needed.
3