Assignment 1 Submission, 2013

How to submit assignment 1

Assignment 1 will be tested on Titanic, so you need to make sure that your solution works on Titanic, and then you must submit it on Titanic by carrying out the following steps. Note that you will only need to submit your source code (.s file).

(I hope that you have tested it by linking it with an assembled data file (like my sample data), as that's how I'll test your program (I'll assemble it and then link it several times with different pre-assembled data files).)

  1. Make sure that you are logged onto Titanic and are ready to type in a terminal (Unix command) window
  2. Make sure that your assignment does not still have the labels howmany: and thenums: defined in it, and that it is called "stat.s" and is in your current directory (ie if you type "ls" you will see stat.s among your files, and that is the version of stat.s that you wish to submit)
  3. At a command prompt type
       /home/student/comp226/mikessubmit 226 1 stat.s
    
    (that says that you want to run my submission program to submit, for comp226 assignment 1, the file called stat.s in your current directory)
If you later have an improved version that you want to submit then you can repeat the above command and it will copy the improved version over the top of the already submitted version.

If you want to be sure that your assignment is there, or you want to check which version of it is there, you can type

   /home/student/comp226/mikessubmit 226 1
and the program will list the files in your submission directory. There should be just one (although extras by accident won't matter), and it should be called stat.s. It will also show the time that the file was submitted and the file's size in bytes so you can be confident it's the right one. (If in doubt, you can always resubmit the file that you are sure is the right one.)

Remember, you only have until 8:00pm on Friday to complete this submission process -- after that the above commands will no longer work as Assignment 1 submissions will have closed.

I hope that you have learned a lot about assembler, and have come up with a good implementation of the stat program.


Mike, 4 September 2013.