ASSIGNMENT: Register allocation

Odprto: sreda, 4. maj 2022, 00.00
Rok za oddajo: torek, 10. maj 2022, 09.00

Using the template for the 11th assignment, you should implement the register allocation for the sequences of assembly instructions, i.e., you should the mapping of temporaries to registers:

  1. register $253 will be used for FP,
  2. the number of general-purpose registers is determined from the command-line argument '--num-regs=N'.

You should upload your solution as a zip file named xxxxxxxx-11.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.