Intermediate code generation is a phase of compiler. In this intermediate codes are generated. this code is a three address code. Before this it is symetic phase and after this is code optimization. it is an important phase of compiler.
There are total 6 phases.
We could translate the source program directly into
the target language .However, there are benefits to having an
intermediate, machine-independent representation
A clear distinction between
the machine-independent and
machine-dependent parts of the compiler
Re targeting is facilitated; the implementation of language
processors for new machines will require replacing only
the back-end
We could apply machine independent code optimization
techniques
For execution of any program in compiler , it (compiler) needs intermediate code. So intermediate code generator is used to generate intermediate code of a program in compiler. This intermediate code is easy to execute by the computer system to get the ouput of program.
saumya agarwal
Intermediate code generation is a phase of compiler. In this intermediate codes are generated. this code is a three address code. Before this it is symetic phase and after this is code optimization. it is an important phase of compiler.
There are total 6 phases.
palashbhawsar9
We could translate the source program directly into
the target language .However, there are benefits to having an
intermediate, machine-independent representation
A clear distinction between
the machine-independent and
machine-dependent parts of the compiler
Re targeting is facilitated; the implementation of language
processors for new machines will require replacing only
the back-end
We could apply machine independent code optimization
techniques
Prashasti Doliya
For execution of any program in compiler , it (compiler) needs intermediate code. So intermediate code generator is used to generate intermediate code of a program in compiler. This intermediate code is easy to execute by the computer system to get the ouput of program.