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
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
Here is Lab B
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
Here is LAB C
If you compile and run assembly program, then you ant to run it again, either recompile, or initPC to initialize the PC to the starting address of the program
If you want to run the simulator on you rmac. Download the mac version. Go to the directory where the simulator is and change permission to execute chmod 700 RVS038 Or chmod u+x RVS038 Then in a terminal type RVS038 If it doesn't run, the current directory is not in your PATH, then do ./RVS038
Here is LAB 4
Here is LAB 5 submit LabK6.v to lab5 directory
The submission will be open for a week
Lab test 1
here is an example Lab test
Lab test 2