Course Solutions Uncategorized (Solved) : 386 Assembly Code Given Following Data Segment Matrix1 Matrix2 Represent Square Matrices S Q32729161 . . . .

(Solved) : 386 Assembly Code Given Following Data Segment Matrix1 Matrix2 Represent Square Matrices S Q32729161 . . . .

 

.386 Assembly Code:

Given the following data segment where matrix1 and matrix2represent square matrices of size n x n (n = 3 in the given casebut it can be of any dimension) stored in row major order, write aprogram that multiply these two matrices and store the resultantmatrix in resultantmatrix again in row major order.
.data
matrix1 dword 1,2,3,4,5,6,7,8,9
matrix2 dword 1,2,3,4,5,6,7,8,9
resultantmatrix 9 dup(?)
Since the matrices can be of any dimension, you must write aprocedure named squareroot to figure out the dimension by takingthe square root of the length of array. To find square root, usemethod of repeated odd numbers subtraction. For scalarmultiplication, use

OR

PayPal Gateway not configured

OR

PayPal Gateway not configured

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post