Remove the file coff2noff.o , and type make coff2noff. To generate an executable, change the appropriate lines in the makefile. To test that everything went well, do the following. This directory contains a few test programs. For example, we test the halt program.
Type make halt .
This must be done on a MIPS machine . Now you can run the halt program on the simulator. The stack pointer is r29 . The return address is stored in r31 . Hi and Lo store the results of multiplication and division.