/
codegen
/Folders and files
| Name | Name | Last commit date | |
|---|---|---|---|
parent directory.. | |||
1. Create a directory which contains a duplicate
of your last assignment, named "codegen"
2 Copy sjc.java and CodeGenerator.java into the
codegen directory
3. Modify CodeGenerator to actually generate
code
4. java sjc <inputfile>
will create <inputfile>.s
Use spim on <inputfile>.s