O'Reilly logo

Compiler Construction by K.V.N Sunitha

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

Chapter 11

Code Generation

Code generation is the final phase in a compiler. Given a code in intermediate form, it uses code generation algorithm and register allocation strategies to generate the final target code.

CHAPTER OUTLINE

Code generation phase is responsible for generating the target code. This chapter focuses on the issues in code generation phase and the register allocation strategies. Code generation algorithm for three address code and DAG is explained with an example.

11.1  Introduction

Code generator is the last phase in the design ...

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