Computer Science 2500
Computer Organization

Rensselaer Polytechnic Institute
Spring 2009


Lab 4: MIPS Insertion Sort
Due: 11:59 PM, Friday, February 20, 2009


For this lab, you will gain more experience with MIPS programming by implementing an insertion sort for an array of integers.

What To Turn In

Submit a single file called isort.s.

Note: During grading, we will replace your array's contents with our own, so be sure your programs work with a variety of array sizes and contents. Also, make sure that your programs work in SPIM on the CS Lab FreeBSD systems, as that is where we will test your programs.

Pay close attention again to appropriate documentation practices. It is always good to document as you go when doing any kind of programming, but it especially crucial for assembly language programming. And don't forget to include your name!

When your program is completed, you may submit it from any CSLab Unix system with the command:

submit comporg lab4 isort.s