COMPILER CONSTRUCTION Principles and practice Kenneth C. louden
COMPILER CONSTRUCTION Principles and Practice Kenneth C. Louden
8. Code Generation PART ONE
8. Code Generation PART ONE
Generate executable code for a target machine that is a faithful representation of the semantics of the source code Depends not only on the characteristics of the source language but also on detailed information about the target architecture. the structure of the runtime environment, and the operating system running on the target machine
• Generate executable code for a target machine that is a faithful representation of the semantics of the source code • Depends not only on the characteristics of the source language but also on detailed information about the target architecture, the structure of the runtime environment, and the operating system running on the target machine
Contents Part one 8.1 Intermediate Code and data Structure for code generation 8. 2 Basic Code generation Techniques Other Parts 8. 3 Code Generation of Data Structure Reference 8.4 Code Generation of Control Statements and logical Expression 8.5 Code Generation of Procedure and Function calls 8.6 Code Generation on Commercial Compilers: Two Case Studies 8.7 TM: A Simple Target machine 8. 8 A Code Generator for the TINy language 8.9 A Survey of Code Optimization Techniques 8.10 Simple Optimizations for TINY Code Generator
Contents Part One 8.1 Intermediate Code and Data Structure for code Generation 8.2 Basic Code Generation Techniques Other Parts 8.3 Code Generation of Data Structure Reference 8.4 Code Generation of Control Statements and Logical Expression 8.5 Code Generation of Procedure and Function calls 8.6 Code Generation on Commercial Compilers: Two Case Studies 8.7 TM: A Simple Target Machine 8.8 A Code Generator for the TINY Language 8.9 A Survey of Code Optimization Techniques 8.10 Simple Optimizations for TINY Code Generator
8.1 Intermediate Code and data Structures for Code generation
8.1 Intermediate Code and Data Structures for Code Generation