Question: This Assignment will cover programming on floating point numbers, random numbers and syscall. Your program should create an array which has 15 floating numbers, 3

This Assignment will cover programming on floating point numbers, random numbers and syscall.

Your program should create an array which has 15 floating numbers, 3 rows and 5 columns (these are all single precision floating point numbers).

Write and test a MIPS assembly language program to implement the following tasks

The starting address of floating point numbers is arrayf, you produce random floating numbers to fill in the arrayf. You need to refer to syscall to produce random float.

Print out the floating numbers located in the arrayf. (loop, also refer to the syscall and print the float numbers)

Calculate the sum of every column, print out the sum of each column(five columns), note: index every element.

Calculate the total sum of 15 elements in this arrayf.

Print out the maximum floating point number in this array.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!