MIPS code -- 4

Job ID: 34771206

Budget: $10 – $30 USD

You are to write a complete program in MIPS assembly language that implements the included C
program. This program contains four functions in addition to the main() function. Your solution
must implement all five routines as they have been coded in the example. In essence, your
solution must follow their dependence as determined by the way they are invoked in the C code
included. You are to use the MIPS simulator QtSpim. A list of SPIM system calls is provided in
the lecture notes as also supplied for quick reference as follows: