Question

write an 8051 assembly program to find the inverse of matrix (3x3) and save the inverse matrix in 430h
ORG 400H MATRIXA1: DB 4,6,9,1,9,3,0,2,.5
write an 8051 assembly program to find the inverse of matrix (3x3) and save the inverse matrix in 430h
ORG 400H MATRIXA1: DB 4,6,9,1,9,3,0,2,.5
0 0
Add a comment Improve this question Transcribed image text
Answer #1

//ASSEMBLY PROGRAM TO FIND INVERSE OF MATRIX.

ORG 400H

MOV R0, #50H

MOV R1,#70H

MOV R3,#3H

LOOP:MOV R4,#4H

MOV A1,@R0

MOV@R1,A1

LOOP1:INC R0

DJNZ R4,LOOP1

INC R1

DJNZ R3,LOOP

MOV R3,#3H

MOV A1,R0

CLR C

SUB A1,#4H

CLR C

SUB A1,#07H

MOV R0,A1

HERE:SJMP HERE

END

//OUTPUT

//INPUT

ADDRESS

I:OX50: 04 06 09 01 09 03 00 02 05 00 00 00 00 00 00 00 00

I:0X67: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

I:0X7E: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

//OUTPUT

ADDRESS

I:0X50: 04 01 00 06 09 02 09 03 05 00 00 00 00 00 00 00 00

I:0X67: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

I:0X7E: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

Add a comment
Know the answer?
Add Answer to:
Write an 8051 assembly program to find the inverse of matrix (3x3) and save the inverse matrix in...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT