1)Because we are experiencing some problems on Unix machine, go to this web-site and download pcspim. http://www.cs.wisc.edu/~larus/spim.html Download http://www.cs.wisc.edu/~larus/SPIM/pcspim.zip Unzip it by using winzip. 2)Install pcspim on your window computer.(Click on Setup.msi in Winzip) ##After Installation, You will see PCSpim-Icon 3)Do your work for problem 0,1,2,3 and save it on sol.txt. 4)Copy the solution code for problem 4 and save it as p4.asm 5)Run pcspim for p4.asm by Clicking PCSpim-Icon. After you see the Pcspim Box, Click on File->Click on Open( p4.asm).##It will load the code. ## Pay attention to the location you save p4.asm## Click on Simulator->Click on Go ##Then a new window will pop up. ##It says Starting Address 0x00400000 Click OK 6)The Simulator will display the output on the Console(new window) 7)Copy the output and save it on a file(p4.txt) ## If you can not copy from the Console, ## Click on File ->Click on Save Log File ## You copy only part of the log file which mean output of the program and save it as p4.txt 8)Write your code for the problem 5 by modifying p4.asm and save it as p5.asm 9)Run the pcspim for p5.asm If you do have errors, correct your errors on p5.asm. 10)Save the output as p5.txt. ############################################### When you finished step 10, you finished your homework. But your homework is still on your computer. You have to upload your homework to the department computer. 1)You go to this web-site and download "psftp.exe". http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html ##download "psftp.exe" ##if you have any sftp(file tranfering program), you may use it## Save psftp.exe on your computer 2)Run it("psftp") by click on psftp >> ## then type "open agent.ece.lsu.edu" >> open agent.ece.lsu.edu ## connect to "agent.ece.lsu.edu" 3)Upload your files(sol.txt,p4.txt,p5.asm and p5.txt)to your account. //when you upload, pay attention to your local files' location //if you put psftp.exe, sol.txt,p4.txt,p5.asm and p5.txt // on the same folder then the transfer will be easy. The uploading procedure is this: After you connect to the department computer, you will see: >> then type put sol.txt and hit Enter. For example: >>put sol.txt //Enter >>put p4.txt //Enter >>put p5.asm //Enter >>put p5.txt //Enter then exit by typing "exit". 4)Connect agent.ece.lsu.edu by using "putty" or "ssh" 5)run script >>script hw4.txt >>cat sol.txt >>cat p4.txt >>cat p5.asm >> CTRL-D //stop script. ############################################################### If you have difficuties doing above, you may bring hard copy of sol.txt,p4.txt and p5.asm to the class and EMAIL "p5.asm" to me. ################################################################