Question: NO PSEUDO INSTRUCTION Write and test a MIPS program consisting of four functions. & means address of. In the following descriptions, the symbol 1. void
NO PSEUDO INSTRUCTION


Write and test a MIPS program consisting of four functions. & means "address of". In the following descriptions, the symbol 1. void main0: The main function must 1) print your name 2) call the readData function 3) call count function 4) complete the program. The main function must set up all parameters before calling each of the functions. 2. int readData (&array): The starting address of an array is passed to the function as a parameter using Sa0. The function must prompt for and read and store integers in the array until either a zero is entered or 10 numbers are read. Once the tenth integer is entered, your program must stop reading. The function must return (using Sv0) the number of values read and stored in the array (10 or less). The zero input is not part of the array and must not be stored in the array. If the first input is a zero, then the array will be empty and the count returned is zero
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
