Chapter 13: Target Code Generation

Overview


This chapter covers code generation for a particular machine architecture implemented in an actual, physical microprocessor. In this chapter we explore how intermediate forms, such as JVM bytecodes and abstract syntax subtrees, are translated into executable form. Collectively, this process is called code generation, though code generation actually involves a number of individual tasks that must be handled.