MIPS_ASM Ch.5
5.3
5.3 (i) Write a function int Square(int N:a0) that returns inv0, the Square of the value passed in a0
5.3 (ii) Write a MIPS assembly language program to: (a) Ask theuser to enter a number to say how many numbers they want to enter(b) THEN, in a for loop, have them enter each number and calculatethe sum of squares utilizing the function you wrote in 5.3 (i). (c)When the user has entered all the numbers they wanted, print themessage “The sum of squares is: ” and the value of the sum ofsquares.” For example… How Many Numbers Do You Want
PayPal Gateway not configured
PayPal Gateway not configured