rohan% simple -i tfirst in simple.c Intermediate Representation - the Abstract Syntax Tree Statements Assign beta gets Immediate Value 2 Write parameters beta Immediate Value 3 Writeln parameters Readln parameters gamma Writeln parameters gamma Assign alpha gets Immediate Value 2 add beta multiply gamma Writeln parameters alpha If beta equal Immediate Value 2 Then Assign beta gets beta add gamma multiply alpha add alpha Writeln parameters beta End If From codegen.c - DisplayRegs() marks used registers Register: 0 1 2 3 4 5 6 7 8 9 - - - - - - - - - - Used = x: COMPILATION COMPLETE out simple.c