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 Resources
Recent Courses
You are not enrolled in any courses
  1. prbuni
  2. ASSIGNMENT: Memory layout

ASSIGNMENT: Memory layout

Completion requirements
Opened: Wednesday, 27 March 2024, 7:00 AM
Due: Wednesday, 3 April 2024, 7:00 AM

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 ►
You are currently using guest access (Log in)
Get the mobile app Obvestilo o avtorskih pravicah
Powered by Moodle