Matrix_Transposition_Multiplication
所属分类:汇编语言
开发工具:Asm
文件大小:73KB
下载次数:14
上传日期:2008-03-27 09:51:13
上 传 者:
zhlovexh
说明: Matrix Transposition and Multiplication
It is a MIPS assembly program that does the following: given two matrices, M1 and M2, first transpose M2 to obtain M2tran. Then multiply M1 and M2tran.
(Matrix Transposition and MultiplicationIt is a MIPS assembly program that does the following: given two matrices, M1 and M2, first transpose M2 to obtain M2tran. Then multiply M1 and M2tran.)
文件列表:
Matrix_Transposition_&_Multiplication\Matrix_Transposition_&_Multiplication.asm (9881, 2007-10-09)
Matrix_Transposition_&_Multiplication\Read Me.doc (64512, 2008-03-26)
Matrix_Transposition_&_Multiplication (0, 2008-03-26)
Matrix_Transposition_&_Multiplication\Project.doc (30720, 2008-03-26)
Matrix_Transposition_&_Multiplication\Direction.doc (64512, 2008-03-26)
The two matrices M1 and M2 are shown below
| 1 2 |
M1 = | 3 4 |
| 5 6 |
| 7 8 |
and
| 1 1 |
| 2 2 |
| 3 3 |
| 4 4 |
M2 = | 5 5 |
| 6 6 |
| 7 7 |
| 8 8 |
The matrices M1 and M2 can be declared and initialized in your
assembly program as follows:
.data
M1: .word 1,2,3,4,5,6,7,8
M2: .word 1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8
Note both M1 and M2 are stored in row major fashion.
You can compile and run the program matrix.c to see the
product matrix.
近期下载者:
相关文件:
收藏者: