Table of content:


Micro-Syllabus of Unit 4 : Code Generator ( 16 hr ) 15 to 25 marks fix

4.1 Intermediate Code Generator: High-level and Low-level Intermediate representation, Syntax tree & DAG representations, Three-address code, Quadruples, Triples, SDT for intermediate code, Intermediate code generation for Declarations, Assignments, Control Flow, Boolean Expressions and Procedure Calls; Back patching

4.2 Code Generator: Factors affecting a code generator, Target Language, Basic blocks and flow graphs, Dynamic programming code-generation algorithm

4.3 Code Optimization: Need and criteria of Code Optimization, Basic optimization techniques

4.4 Case Studies of some compilers like C compiler, C++ complier


🗒️Note:→

4.1 Intermediate Code Generator:

# Intermediate Code Generation :