CS 304: Computer Organization

Fall 2010

 


Fall 2010  CSCI 304: Computer Organization


(:Course Banner term='Fall 2010' num='Computer Science 304' title='Computer Organization':)

(:Course Header term='Fall 2010' num='Computer Science 304' title='Computer Organization' :)

Homework Two Notes

Using MARS

To use the MARS simulator, you can either 1) download the Java jar file and save it in your home directory or 2) you can copy a desktop application icon to your Linux desktop which runs my copy of the simulator.

To add the icon to your Linux desktop, following the steps below:

  1. Login to your account (if you have not already done so).
  2. Open a terminal window.
  3. At the command-line prompt, enter cd to change to your home directory.
  4. Enter the following copy command at the command-line prompt
      cp /home/scratch/necaise/share/Mars.desktop ./Desktop

This should place a 'Mars' icon on your desktop, which you can then double click to run the simulator.

Submitting your Program

To submit your MIPS assembly source file, you will need to use the shared folder through Google Apps (WMApps) which I shared with you earlier. This requires two main steps: creating a subfolder and uploading your source file to the new subfolder.

Create a Subfolder: You must create a subfolder within your shared turnin folder which can be done following the steps below. If you are familar with Google Documents, you can skip down to step 5 below.

  1. Login to WMApps just as you would to check your email.
  2. Select the 'documents' link at the top of the page.
  3. Near the bottom of the the left-hand column should be a link labeled 'Folders shared with me'. Click on the little triangle to the left of this label. You should now see your cs304-xyz (where xyz is your username) turnin folder.
  4. Click on your cs304-xyz turnin folder which should be empty.
  5. Create a sub folder within your turnin folder
    1. Click on the 'Create New' button near the top of the page, just under the 'Google Docs' logo.
    2. And select 'Folder'.
    3. Enter hw2 for the name of the folder.
    4. Then click on the `Save' button.
Note Note

Do not set or change any permissions on the sub folder.


Upload Your File: To upload file(s) to your new sub folder, following the steps below

  1. Click on the 'Upload' button near the top of the page, just under the 'Google Docs' logo.
  2. Browse and select the your grades.asm file.
  3. Then at the bottom of the page, click on the 'Destination Folder' button which provides a drop down list.
  4. Find and click on your hw2 subfolder under your cs304-xyz turnin folder.(Note: you may have to click on several little triangles to work your way down in the folder tree to find the correct subfolder.)
  5. Click on the 'Start Upload' button.

Your file should now be uploaded.

Note Note

You may also submit your solutions for the written part of the homework by uploading it to the same hw2 sub folder. If you upload a document, please use a short name such as hw2.pdf. In addition, any written document submitted for the course should be in either pdf or odt (openoffice) format.

Print -- Recent Changes
Page last modified on September 09, 2010, at 06:00 PM