CS520
Spring 2017
Laboratory 6
Friday March 3
The lab must be submitted prior to noon on Sunday March 5.


This lab cannot be done in 50 minutes. Therefore, you must start this lab before coming to lab. If you have any questions about the lab, post them to the Piazza class page.

Complete the first 60 points of the Program 3 assignment. This requires determining the addresses for labels in correct input files and printing the labels and addresses to stdout as described in the assignment specification. And you should implement the symbol table using your code from Lab 5.

You should submit all the source code for your assignment in two files called assemble.c and symtab.c.

To turn in this laboratory, type:

% ~cs520/bin/submit lab6 assemble.c symtab.c

Submissions can be checked by typing:

% ~cs520/bin/scheck lab6

Remember that there are no late submissions of labs. Submit what you have prior to noon on Sunday March 5.


Last modified on January 17, 2017.

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