SPIM (software)

from Wikipedia, the free encyclopedia
SPIM
Basic data

developer James Larus
Current  version 9.1
(July 2011)
operating system GNU / Linux , Mac OS X , Unix and Windows
License BSD license
spimsimulator.sourceforge.net

SPIM is a program that simulates the MIPS32 architecture for executing assembly code .

The SPIM enables assembler code for MIPS processors to be tested or "executed" under other architectures (e.g. under x86 processors ) (no 1: 1 execution on the guest computer).

The source code is freely downloadable and is covered by a free standard BSD license .

Range of functions

There is a console program ( spim ) and GUI versions ( PCSpim for Windows, xspim for the others) for GNU / Linux , Mac OS X , Unix and Windows . a. display the register contents directly.

A rudimentary operating system is part of the SPIM that provides simple methods for input and output on the console. These are called by the (argument-free) syscall instruction, which acts depending on the register values.

Benefiting from the free availability, good documentation, and an easily applicable debugging method via the graphical user interface that runs on different operating systems, the SPIM is used at some universities to learn the concepts of assembly language .

Web links

Individual evidence

  1. Changes to spim ( English ) Archived from the original on July 24, 2011. Retrieved on 4 January 2016th