Results 1 to 2 of 2
Thread: Matrices in MIPS
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Feb 2005
- At a rock house in Oak Cliff...
Matrices in MIPS
I have no clue how to call matrices and use them in MIPS. I can declare them as so...
A0: .word 1, 1, -1, 3
A1: .word 20, 10, -40, 30
A2: .word 5, -1, 40, 30
A3: .word 70, 3, 8, -5
A: .word A0, A1, A2, A3
But as far as calling on A(i,j) I am as you say stumped. Any help would be most appreciated.
Its been a long time since I programmed in MIPS, but from memory, You had to load the base address of the array into a register and then increment by 4 to point to the next element.Life is complex, it has a real part and an imaginary part.