Skip to main content
Testna Učilnica FRI 24/25
  • Home
  • More
Close
Toggle search input
English ‎(en)‎
English ‎(en)‎ Slovenščina ‎(sl)‎ Македонски ‎(mk)‎ Русский ‎(ru)‎ 한국어 ‎(ko)‎
You are currently using guest access
Log in
Testna Učilnica FRI 24/25
Home
Expand all Collapse all
  1. prbuni
  2. 25 March - 30 March
  3. 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.

You are currently using guest access (Log in)
Powered by Moodle
Obvestilo o avtorskih pravicah