Preskoči na glavno vsebino
Učilnica FRI 23/24
  • Domov
  • Več
Zapri
Preklopi iskalni vnos
Slovenščina ‎(sl)‎
English ‎(en)‎ Slovenščina ‎(sl)‎ Македонски ‎(mk)‎ Русский ‎(ru)‎ 한국어 ‎(ko)‎
Trenutno uporabljate gostujoči dostop
Prijavite se
Domov
Course Activities
Forumi Naloge Viri
Nedavno dostopani predmeti
You are not enrolled in any courses
  1. prbuni
  2. ASSIGNMENT: Instruction selection

ASSIGNMENT: Instruction selection

Zahteve zaključka
Odprto: sreda, 24. april 2024, 00.00
Rok za oddajo: sobota, 4. maj 2024, 18.00

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: Linear imtermediate code
TEMPLATE: Instruction selection ►
Trenutno uporabljate gostujoči dostop (Prijavite se)
Pridobi mobilno aplikacijo Obvestilo o avtorskih pravicah
Stran poganja Moodle