Write simple MIPS Assembly codes and simulate using the SPIM simulator.
1. Write MIPS assembly code to add two positive integers.
2. Write MIPS assembly code for swapping the contents of two registers, $t0 and $t1.
Write MIPS assembly code to print your name in the following format on the screen/console. Format: My name is Bond, James Bond. So, it should be: My name is "your last name", "your first name last name".
4. Write MIPS assembly code to add the powers of 2 (i.e., 2') within a given range (e.g., l to 100).
5. Write a MIPS assembly code to find the larger of two numbers. Assume two numbers are stored in $t0 and $tl, store larger number in $t2.
Write a report which includes:
1.MIPS code for each program (Provide comments throughout your codes) 2. Output screen shot for registers/console for each program (as a proof of successful run) 3. Conclusion (for example -what you learned from these assignments) 4. Name and PIDs of all the group members. 5. Submit the report as a pdf file.