SPIM/SAL and SPIM are
simulators for the MIPS R2000-R3000
instruction set architecture.
The
Mac version
of SPIM recognizes both SPIM and SAL instructions.
Use StuffIt Expander (which comes with Netscape) to deBinHex and
decompress the file.
The result will be a folder containing the SPIM application, source code,
and various examples.
There are two PC versions of SPIM:
.globl main main:
__start:
The current UNIX version
of SPIM is 6.2. UNIX SPIM does not recognize SAL instructions.
Every program's text (instructions) must start with the lines
.globl main main:
XMPSIM
(CRAY
X-MP architecture)
SAL instructions (text file)
SPIM instructions (text file)
James Larus's article on SPIM
Detailed summary of SPIM instructions,
including bug fixes
The XMPSIM instruction set
is a subset of the CRAY X-MP instruction set. For a full account
of the CRAY X-MP instruction set architecture, see
S. Robbins and K. Robbins,
The Cray X-MP: A Case Study in Pipelined Architecture and Vector
processing, Springer-Verlag Lecture Notes in Computer Science #374, 1989.
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|