CSCI 2500 Assignment 3

$30.00

Category: You will Instantly receive a download link for .zip solution file upon Payment || To Order Original Work Click Custom Order?

Description

5/5 - (4 votes)

Matrix Multiplication
In this assignment we will be using the SPIM simulator that you installed in lab. Your task will be to
implement a matrix multiplication algorithm in MIPS assembly. Your code only needs to support a 4 × 4
matrix. Only unsigned integer values need to be supported.
Since we have not covered multiplication yet, a function has been provided to you. It is referenced specifically
in the pseudocode but that is not the only location where it is appropriate to call it.
Below is some sample output. Note that your program should match these samples exactly. Printing the
tab character is often enough to achieve acceptable spacing. The starter code can be found in the Resources
section on Piazza.
Enter the values for matrix A:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Enter the values for matrix B:
1
2
3
4
5
6
7
8
9
10
11
1
12
13
14
15
16
Product A x B matrices:
90 100 110 120
202 228 254 280
314 356 398 440
426 484 542 600
2