O'Reilly logo

Express Learning: Principles of Compiler Design by ITL Education Solutions Limited

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

11

Code Optimization and Code Generation

1. Explain the various issues in the design of code generator.

Or

   Discuss the various factors affecting the code generation process.

Ans: The various factors that affect the code generation process are as follows:

images Input: The intermediate code produced by the intermediate code generator or code optimizer of the compiler is given as input to the code generator. At the time of code generation, the source program is assumed to be scanned, parsed, and translated into a relatively low-level intermediate representation. Type conversion operators are assumed to be inserted wherever required, and that semantic ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required