-
Download PCSpim, a MIPS32 simulator, at http://spimsimulator.sourceforge.net/, unzip it, and click on
setup.exe to set up the simulator.
-
Doubly click on the icon
pcspim.exe on the desktop or start the program pcspim.exe .
The following PCSpim Interface window will be popped up:
and the following PCSpim Console window will be popped up too:
-
Write a MIPS assembly program such as Fib.asm.
-
Open the program by selecting the following options from the Interface window:
File ⇒ Open
Assuming the file Fib.asm is opened, the Interface will be
-
Execute the program by selecting the following options from the Interface window:
Simulator ⇒ Go
Click the button OK and the Console window will display the output:
|