Chapter 7: Intermediate representation and symbol table

Three address code

. It is a sequence of statements of the general form X := Y op Z where

- X, Y or Z are names, constants or compiler generated temporaries

- op stands for any operator such as a fixed- or floating-point arithmetic operator, or a logical operator

Three address code is a sequence of statements of the general form: x := y op z where x, y and z are names, constants, or compiler generated temporaries. op stands for any operator, such as a fixed or floating-point arithmetic operator, or a logical operator or boolean - valued data. Compilers use this form in their IR.