Evaluate the polynomial:

2x3 - 3x2 + 5x + 12
Use symbolic addresses for variables x and answer (holds the result). Assume that the value in x is
small enough so that all results fit into 32 bits. Since load delays are turned on in SPIM be careful what
instructions are placed in the load delay slot.
Verify that the program works by using several initial values for x. Use x = 0 and x = 1 to start since this
will make debugging easy. Then try some other values, such as x = 10 and x = -1.
Write the program following the hardware rule that two or more instructions must follow a mflo
instruction before another mult instruction (the delay slot). Try to put useful instructions in the delay
slots that follow the mflo.

In MIPS (asm flie)