Use only MIPS instructions covered on the link Integer Instruction Set .
problem 1: prepare a MIPS assembly language program which accomplishes the given tasks:
The program will prompt the user to enter an integer k between 1 and 10. If the entered number does not satisfy the above condition, use a loop and prompt the user for a new entry (till a valid number is entered).
Depending on the k value implement the given cases:
Case 1: if 0 < = k < 5
compute Func(n): if (n=0 or n=1) then Func(n) = 3;
else Func(n) = (n+1)Func(n-2) + n;
Have n (n >= 0) be prompted from the user.
Display a result_message together with the numeric value of the result.
NOTE: use recursive function call.
Case 2: if 5 <= k <= 10
Prompt the user to enter one by one a sequence of 10 integers. For each entered integer:
a. Read in the integer.
b. Display the integer.
c. In a new array, store in reverse order the entered integers.
Display the contents of the new array.
The program will keep prompting the user until 0 is entered. If 0 is entered the program will exit.
Your program should be well documented with comments.
Your console output should include helpful prompts for the user.