Skip to main content
Učilnica FRI 23/24
  • Home
  • More
Close
Toggle search input
English ‎(en)‎
English ‎(en)‎ Slovenščina ‎(sl)‎ Македонски ‎(mk)‎ Русский ‎(ru)‎ 한국어 ‎(ko)‎
You are currently using guest access
Log in
Home
Course Activities
Assignments Forums Quizzes Resources
Recent Courses
You are not enrolled in any courses
  1. prbuni
  2. ASSIGNMENT: Instruction selection

ASSIGNMENT: Instruction selection

Completion requirements
Opened: Thursday, 13 April 2023, 12:00 AM
Due: Tuesday, 25 April 2023, 7:00 AM

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.

◄ TEMPLATE: Instruction selection
Compilers, lecture 10 ►
You are currently using guest access (Log in)
Get the mobile app Obvestilo o avtorskih pravicah
Powered by Moodle