Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Computer Organization Literature: Computer Organization and Design - The Hardware / Software Interface, David A. Patterson & John L. Hennessy, Morgan Kaufmann, 5th Edition. Lectures

Computer Organization

Literature:

Computer Organization and Design - The Hardware / Software Interface, David A. Patterson & John L. Hennessy, Morgan Kaufmann, 5th Edition. Lectures handouts

Software: MARS:http://courses.missouristate.edu/KenVollmar/MARS

Project Description:

Write a MIPS assembly language program that enables the user to enter two vectors (arrays) of single precession floating point numbers and saves them in memory.

Input data requirements are as follows:

- The size of each vector (array) is 10 (N = 10) .

-Each element of an input vector should be entered as a 4 decimal digits number (one digit for the integer and three digits for the fraction).

Your program should compute the arithmetic mean of each vector and the dot product of the two vectors then the program should display the results on the console preceded by appropriate messages.

Test your program using the following vectors:

A = [0.637, -0.342, -1.234, -5.346, 0.706, 1.659, 2.341, 0.121, 0.874, -3.213]

B = [7.892, 6.871, 9.891, 7.127, -6.234, 8.769, 8.210, 7.321, 7.324, -8.662]

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Oracle Solaris 11.2 System Administration (oracle Press)

Authors: Harry Foxwell

1st Edition

007184421X, 9780071844215

More Books

Students also viewed these Databases questions

Question

i need correct answrrs b . 4 3 .

Answered: 1 week ago