Using SPIM write the following program:
There are two programming questions for you to do. Please submit two.s or .asm files. In the settings for SPIM, as usual use a bare machine with no exception handler, and also choose “Enable Delayed Loads” and “Enable Delayed Branches”. This simulates a more realistic machine with a pipelined architecture 1. (4 points) Write a program that computes the sum: 12 +22 +32 +42+52++982 +9921002 Do this as above,
OR
OR