Using the template for the 9th assignment, you should implement the generator of MMIX machine instructions (but with virtual registers, i.e., the existing temporaries). You should assume that
register $254 will be used for SP,
register $253 will be used for FP,
function calls are performed using PUSHJ and POP instructions (which use MMIX's register stack for storing and restoring all local registers).
Furthermore, comment out the interpreter.
You should upload your solution as a zip file named xxxxxxxx-asmgen.zip where xxxxxxxx stands for you student identification number. The contents of the uploaded zip file must have exactly the same directory structure as the template. The uploaded zip file must contain complete source distribution (including the previous phases), but without antlr and generated files.