ASSIGNMENT: Register allocation

Odprto: petek, 5. maj 2023, 00.00
Rok za oddajo: četrtek, 11. maj 2023, 07.00

Using the template for the 11th assignment, you should implement the register allocation for the sequences of assembly instructions.  The number of general-purpose registers is determined from the command-line argument, i.e., '--num-regs=N' (where N can be as low as 4).

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