Saturday, 15 December 2012



What is Qtspim?

It is newest version of Spim.Spim is a self -contained simulator that runs MIPS 32 programs that emulate MIPS processor.
MIPS processor has 32 general purpose registers, each holding 32 bits.

-  reads and executes assembly language programs written for this processor.
-  provides a simple debugger and minimal set of operating system services.
-  does not execute binary (compiled) programs Spim implements almost the       entire MIPS32 assembler-extended instruction set.

The MIPS architecture has several variants that differ in various ways (e.g., the MIPS64 architecture supports 64-bit integers and addresses), which means that Spim will not run programs for all MIPS processors.


Qt is cross-platform, so the same user interface and same code will run on Windows, Linux, and Mac OS X.


Register display : -list all 32 general purpose registers
                          -display in hex, binary or decimal
                          -initially, content of the register is zero except for the stack pointer

Data display :  contain User Data Segement, User Stack and Kernal Data Segment.
                      Shows the MIPS memory that hold data programmed by the user and
                      usual data that has been pushed into stack.

Text display : 1st column is the addresses of the memory locations of the machine     
                     instruction displayed in hexadecimal on the second column. Whereas, the
                     3rd column code to represent the machine instruction.

Spim Message: show message(errors or not) from the simulator


Kee Hwaai Sziang B031210067

2 comments: