Перейти к основному содержанию
Učilnica FRI 23/24
  • В начало
  • Дополнительно
Закрыть
Изменить данные поисковой строки
Русский ‎(ru)‎
English ‎(en)‎ Slovenščina ‎(sl)‎ Македонски ‎(mk)‎ Русский ‎(ru)‎ 한국어 ‎(ko)‎
Вы используете гостевой доступ
Вход
В начало
Course Activities
Задания Ресурсы Форумы
Recent Courses
You are not enrolled in any courses
  1. prbuni
  2. ASSIGNMENT: Instruction selection

ASSIGNMENT: Instruction selection

Требуемые условия завершения
Открыто с: среда, 24 апреля 2024, 00:00
Срок сдачи: суббота, 4 мая 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 ►
Вы используете гостевой доступ (Вход)
Скачать мобильное приложение Obvestilo o avtorskih pravicah
На платформе Moodle