Question: Description: You are given two arrays. Each array has 4numbers and the numbers are 8-bitslong. The array represents two matrices. For example, if you have
Description: You are given two arrays. Each array has 4numbers and the numbers are 8-bitslong. The array represents two matrices. For example, if you have two matricesA and B as follows,A=[2345]B=[78910]A: .db2, 3, 4, 5B: .db 7, 8, 9, 10So, we store the matrices row-wisein the program memory. Given, the arrays, write a programthat calculates A*B and stores the result in data memory location 0x2000to 0x2003*.Store the matrix in row-wise fashion also.(*As we are storing the result in a 4-byte array, use test matrices so that the values in your resultant matrix can be represented with 8-bits)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
