Question
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
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:
1.The starting address of floating point numbers is arrayf, you produce random floating numbers to fill in the arrayf. 2.You need to refer to syscall to produce random float. 3.Print out the floating numbers located in the arrayf. (loop, also refer to the syscall and print the float numbers) 4.Calculate the sum of every column, print out the sum of each column(five columns), note: index every element. 5.Calculate the total sum of 15 elements in this arrayf.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started