Presentation is loading. Please wait.

Presentation is loading. Please wait.

MIPS simulators There are 3 widely used MIPS simulators PC-SPIM, MARS, QTSPIM. PC-SPIM (the one we should use) the oldest one with poor graphics Very simple.

Similar presentations


Presentation on theme: "MIPS simulators There are 3 widely used MIPS simulators PC-SPIM, MARS, QTSPIM. PC-SPIM (the one we should use) the oldest one with poor graphics Very simple."— Presentation transcript:

1 MIPS simulators There are 3 widely used MIPS simulators PC-SPIM, MARS, QTSPIM. PC-SPIM (the one we should use) the oldest one with poor graphics Very simple features and easy to start to work More exact simulation of delayed loads and branches. MARS, QTSPIM The newer simulators with rich graphics Lots of features, helps and complex menus. Not so exact simulation of some hardware features of MIPS. Textbook: Appendix A - compilers, SPIM simulator and MIPS assembly syntax. Ch. 3.9. Starting a program. (156-163). Central Connecticut State University, MIPS Tutorial. _classes/COE/CS330/Classes/Literature/MIPSassembly/MIPStutorial/ or http://chortle.ccsu.edu/AssemblyTutorial/index.html

2 SPIM simulator PC-SPIM Download the latest version of PC-SPIM from http://www.cs.wisc.edu/~larus/SPIM and save it on your machine or find the already downloaded pcspim.zip file locally in the folder: http://ac.aua.am/arm/Public/2016-Spring-Computer- Organization/Software/ http://ac.aua.am/arm/Public/2016-Spring-Computer- Organization/Software/ Unzip the file. Click on the setup.exe program. Most likely all you will do is click buttons to accept the defaults. SPIM by default is installed in C:\Program Files\PCSpim. You’ve finished the installation.

3 PC-SPIM main screen

4 Settings

5  Loading the source file into SPIM does two things:  The file is assembled into machine instructions, and  the instructions are loaded into SPIM's memory.  The text display shows the result. Loading, assembling

6 Setting the Program Counter

7 Running a program

8


Download ppt "MIPS simulators There are 3 widely used MIPS simulators PC-SPIM, MARS, QTSPIM. PC-SPIM (the one we should use) the oldest one with poor graphics Very simple."

Similar presentations


Ads by Google