Previous    Next

PROGRAM FRAMES

If you are compiling for the Sparc, implement the Sparc package containing Sparc/SparcFrame.java. If compiling for the MIPS, implement the Mips package, and so on. If you are working on a RISC machine (such as MIPS or Sparc) that passes the first k parameters in registers and the rest in memory, keep things simple by handling only the case where there are k or fewer parameters. Supporting files available in $MINIJAVA/chap6 include: Temp/* The module supporting temporaries and labels. Util/BoolList.java The class for lists of booleans.

Optional: Handle functions with more than k formal parameters.


JaVaScreenshot Previous    Next
Comments