rohan% doit texp0 in simple.c Intermediate Representation - the Abstract Syntax Tree Statements Assign x gets Immediate Value 2 Write parameters x Assign y gets x add Immediate Value 4 multiply Immediate Value 9 add x Writeln parameters y 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 SPIM Version 6.2 of January 11, 1999 Copyright 1990-1998 by James R. Larus (larus@cs.wisc.edu). All Rights Reserved. See the file README for a full copyright notice. Loaded: /opt/spim/bin/trap.handler 246