CS520
Fall 2016
Laboratory 5
Friday September 30
The lab must be submitted prior to noon on Sunday October 2.


The goal for this lab is to complete 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 lab5 vm.c class.c

Submissions can be checked by typing:

% ~cs520/bin/scheck lab5

Remember that there are no late submissions of labs. Submit what you have prior to 12noon on Sunday October 2.


Last modified on August 19, 2016.

Comments and questions should be directed to pjh@cs.unh.edu