adm 0 Newbie Poster

please can any one help in this by mips :(quickly)

You have to write a MIPS program that multiplies two 3x3 matrices. The two
matrices are defined for you in the code. The program then prints the two matrices
and their product. You should use loops to navigate through the matrix.
To get full mark, you should follow the next guidelines:
1-Start your code with the following header (filled in with your group names):
2- The first matrix is stored at location labeled matrix1, the second matrix is stored at
location labeled matrix2 and the product that will be computed by your code must be
stored at location labeled product. The next code fragment shows you how to do it.
Computer Architecture
Instructor: Eng. Husam Alzaq
Islamic University of Gaza
Faculty of Engineering
Computer department

######################################################
#
# Project 1 Matrices Multiplication
# Group Names:
# 1.
# 2.
#
######################################################
data
strA: .asciiz "First Matrix:\n "
strB: .asciiz "Second Matrix:\n "
strC: .asciiz "Product Matrix:\n "
newline: .asciiz "\n"
space: .asciiz " "
# This is the start of the First Matrix.
matrix1: .word 111, 112, 113
.word 103, 104, 105
.word 190, 95 , 199
matrix2: .word 90, 91, 92
.word 101, 202, 303
.word 9, 10, 11
# The next statement allocates room for the product.
# The matrix takes up 4*9=36 bytes.
#.space n allocates n empty bytes in the memory
product: .space 36
.align 2
.text
# Your well-commented program starts here.
main:
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.