ICS 331: System Software (981)

Programming Assignment # 2

Date: November  8, 1998                                                                                                                Due Date: November  22, 1998

 

Problem Statement:

Design and implement a 2-pass SIC/XE linking loader that reads an object program, as input, and produces an executable program, similar to the one produced in the textbook, as an output.

Detailed Requirements

  1. The developed linking loader should handle the linking, and the relocation of the input object files. The loading will not be done.
  2. The loader should read an input file "xxxx.obj" and produces two files: a load-map file "xxx.map" and an executable file "xxx.exe". These output file should be similar to the ones in the textbook.

Deliverable

Each team should submit, on the due date of the assignment, the following:

  1. A detailed algorithm of the loader developed similar to the one shown in the textbook on pp. 143-144. The algorithm should be typed. This will get 30% of the project grade
  2. Extra marks will be given for a flowchart of the algorithm using any drawing application such as ABC Flowcharter of Visio.
  3. A print out of the "C" code for the assignment together with the input file and the output files. The program will get 70% of the project's grade. The program should be well documented. Documentation will get 14% of the project's grade. The program should be used and tested with the object program in Figure 2.17 in pp. 90 in the textbook.
  4. An electronic copy of the items in 1-3 above in a 3.5 floppy disk.
  5. The team may be asked to make a demo of their system