Using PCSpim


  1. Download PCSpim, a MIPS32 simulator, at http://spimsimulator.sourceforge.net/, unzip it, and click on setup.exe to set up the simulator.

  2. 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:


  3. Write a MIPS assembly program such as Fib.asm.

  4. 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


  5. 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: