University of Bergen MIPS Assembly Program Questions
Description
1. Write a MIPS Assembly program to ADD the 5 numbers: 1, 2, 3, 4, 5. (as in ex-1)
Use only the instructions: add and li
- The result of the addition (in decimal) should be in register: St1
- 2. Write a MIPS Assembly program to ADD the 9 numbers: 1, 2, 3, 4, 5, 6, 7, 8, 9. (as
in ex-1)
Use only the instructions: add and li
- The result of the addition (in decimal) should be in register: St3
- 3. Write a MIPS Assembly program to ADD the 5 numbers: 1, 2, 3, 4, 5. (as in ex-2)
Use only the instructions: addi and li
The result of the addition (in decimal) should be in register: St1
- 4. Write a MIPS Assembly program to ADD the 5 numbers: 1, 2, 3, 4, 5. (as in ex-3)
Use only the instructions: addi and li … and ONLY the register: Sto
- The result of the addition (in decimal) should be in register: Sto
- In the report include a partial screen shot of the register (Register File)
- with the result (see next page: Figure 1)

Have a similar assignment? "Place an order for your assignment and have exceptional work written by our team of experts, guaranteeing you A results."