In this laboratory, you will use the GXEmul to run the exercise of Lab04. The GXEmul is an experimental instruction-level machine emulator that provides several emulation mode.
For execute your exercise of Lab04 on GXEmul, you must generate a executable file. For that you should use the cross compiler GNU GCC / Binutils package for MIPS.
The file util.c provide some basic functions to print data on a virtual console device, provided by the testmips emulation mode of GXEmul. Use the same application implemented on Lab04, making the necessary corrections for the GNU Assembler.
For help using GXEmul and the GCC/Binutils application, view the presentation GXEmul Overview