ECE 232 Spring 1998 MIPS Assembly Language Tutorial

This page is designed to supplement the MIPS Assembly Language portion of the course.  It will provide you with the SPIM/SAL MIPS simulator, instructions on installing and using SPIM/SAL, the MIPS assembly language syntax, and several examples of programs written in MIPS assembly language. To get the most out of this page, I recommend students do the following:

1) READ section 3.3 ( pages 178 - 211 ) in your text book. This reading covers the instruction set and addressing modes of the MIPS RX000 series of microprocessors.

2)  the SPIM/SAL simulator version for Windows 3.1 and Windows 95.
( NOTE: If you do not have a PC, you may use the Windows 95 PCs located on the first floor of Marston Hall. They should all have SPIM/SAL installed. If not, please let me know ).
( A unix version of SPIM is available on the internet, if anyone is interested in using the unix x-windows version, you can search the net for xspim or email me for additional information. I will not provide support for xspim however, and cannot guarantee that there aren't any differences between the two versions. All assembly syntax and examples on this site pertain to the PC version of SPIM/SAL only. )

3) Install SPIM/SAL on your machine. Instructions on how to install and use SPIM/SAL can be found 

4)  my brief overview of the assembly syntax used by SPIM/SAL. ( Including a list of the registers found in the RX000 series of microprocessors and a table of system services provided by SPIM/SAL )

5) Learn by looking at the  I have included to get a better understanding of the MIPS assembly language and the syntax used with the SPIM/SAL simulator.

6) After you've read through the examples and understand how they work, I suggest you a text version of the examples from the previous section. Try them in SPIM/SAL to get some experience using SPIM/SAL.

6) 

7) to homework #6
 

Feel free to email one of us if you have any questions. If you notice any errors on this page, please let know.
Email Professor BurlesonProfessor Burleson Email Graduate T.A. Hong Yang, Graduate T.A. Email Undergraduate T.A.Jack Shu, Undergraduate T.A.


This page best viewed at 640*480 or higher. Netscape2.0 or newer recommended.

Page designed by Jack Shu. Copyright © 1998 Shuski Enterprises