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: Memory layout

ASSIGNMENT: Memory layout

Zahteve zaključka
Odprto: sreda, 27. marec 2024, 07.00
Rok za oddajo: sreda, 3. april 2024, 07.00

Using the template for the 6th homework, you should compute the stack frames and variable accesses.  Assume the following:

  • The size of type void is 0 bytes, the size of types bool and char is 1 byte, the size of type int and pointers is 8 byte.
  • Elements of arrays are not padded, struct components are aligned on 8 byte boundaries (and thus padded if needed), union components are all aligned to the base address of a union.

You should upload your solution as a zip file named xxxxxxxx-memory.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: Type checking
TEMPLATE: Memory layout ►
Trenutno uporabljate gostujoči dostop (Prijavite se)
Pridobi mobilno aplikacijo Obvestilo o avtorskih pravicah
Stran poganja Moodle