Computer Organization
Budget: $10 – $30 USD
Write a complete program in MIPS assembly language that implements the appended
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 presented below. 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:
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 presented below. 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: