1. Write MIPS assembly code to sum “n†positive integers. Forexample, n=5, read 5 numbers in memory (“.data†section) and addthem together.
2. Write MIPS assembly code to calculate N-factorial. Read nfrom the memory. (Hint: use “.data†to define the content in amemory location)