CS520
Spring 2013
Laboratory 6
Friday March 1
The lab must be submitted prior to 8am on Monday March 4.
This lab is worth four times what a normal lab is worth.


The goal for this lab is to implement the first part of Program 3. Implement initializeVM to read the class file into memory and then implement the functions for retrieving information from the class file. Points will be awarded in the following way:

You can do your initial testing for this lab using this main program: ~cs520/public/prog3/src/classTest.c. (Important: do not add any code to this file. All your code must be in either vm.c or class.c.) Type "make classTest" to build the executable classTest. Run this program with userClass.class, which is available in ~cs520/public/prog3/test. Be sure to consider whether this test is sufficient. You may need to do additional tests.

Turn in this laboratory by typing:

% ~cs520/bin/submit lab6 vm.c class.c

Submissions can be checked by typing:

% ~cs520/bin/scheck lab6

This lab has a special due date of 8am on Monday March 4. Remember that there are no late submissions of labs. Submit what you have prior to 8am on Monday March 4.

To encourage you to get a significant amount of work done on Program 3 before Spring Break, this lab is worth four times the amount a lab is normally worth.


Last modified on February 23, 2013.

Comments and questions should be directed to hatcher@unh.edu