Starting from:

$30

COL 216: Assignment 1
 Solved

COL 216: Assignment 1


General Instructions:

1)    You will be using QtSpim Simulator that was installed in Assignment 0 for this Assignment.

2)    The assignment has to be done in groups of 2. Only one member of each group should submit the assignment on Moodle.  

3)    Each group member should understand the problem and equally contribute to the solution. Demos would be held for each lab for evaluation.  

 

Problem:  

Write a MIPS Assembly Program for comparing two matrices using Root Mean Square Error.  

  

Input: 2 matrices of size 3x3 stored in the memory. The matrices can have any random integer values.  

 

Output : The root mean square difference between the two matrices should be stored in the memory. The code should print the result.  

 

Your code should read the values from the memory and compute, print and store the result in the memory.  Example:

  

Other instructions:

Please refer to this document for help on MIPS Assembly language and QtSpim.  

http://www.egr.unlv.edu/~ed/MIPStextSMv11.pdf 

 

Please post your doubts on Piazza and we would be able to get back to you as soon as possible.  

 

We will be announcing office hours for asking your doubts for this assignment.  

The demos for this assignment would be held during the Week 3 Lab.

More products