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===== {{:laba.pdf|LAB A}} 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|Lab B}} Please check [[http://www.eecs.yorku.ca/course_archive/2017-18/F/2021S|the supplementary material site]]for the simulator and manuals you need for this lab **To run the simulator type rvs038 in a terminal at the command prompt** ===== LAB 3 -- Week of Oct 1===== Here is {{:lab_c.pdf|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** ===== LAB 4 -- Week of Oct 8===== Here is {{:lab_d.pdf|LAB 4}} ===== LAB 5 -- Week of Oct 16===== Here is {{:labk.pdf|LAB 5}} submit LabK6.v to lab5 directory The submission will be open for a week ===== Week 8 Oct. 23, 2017 ===== {{:labl.pdf|LAB 6}} ===== Week 9 Oct. 30, 2017 ===== {{:labm.pdf|LAB 7}} ===== Week 10 Nov. 6, 2017 ===== **Lab test 1** here is an example {{:lab_test_1_a.pdf|Lab test}} ===== Week 11 Nov. 13, 2017 ===== {{:labn.pdf|LAB 8}} ===== Week 12 Nov. 20, 2017 ===== ===== Week 13 Nov. 27, 2017 ===== **Lab test 2**