This is an old revision of the document!
Table of Contents
we will use a new simulator inthis course
The simulator page is http://www.eecs.yorku.ca/course_archive/2017-18/F/2021S/
Please go to this page for the simulator, we will start using it from Lab B
Labs will start the week of Monday Sept. 18
LAB SCHEDULE
LAB 1 -- Week of Sept. 18
many of you said that they have never used command line intrerface before. I will do the first part of the lab for you.
Here is the file, you have to rename it to the appropriate name (and change the class name of course).
project.txt rename it to Project.java (the system does not upload .java extension, I had to change it to .txt)
to renamt it type
mv project.txt Project.java
Now you have a Project.java in your directory.
To compile it, type
javac Project.java
The file will be compiled and a new file called Project.class is created for you
To run it type
java Project 6
you get
110
which is the binary representation of 6
LAB 2 -- Week of Sept 25
Here is lab_b.pdf
Please check the supplementary material sitefor the simulator and manuals you need for this lab
To run the simulator type rvs038 in a terminal at the command prompt