mirror of
https://github.com/supleed2/ELEC50010-IAC-CW.git
synced 2024-11-10 01:35:49 +00:00
updated ref
This commit is contained in:
parent
579dc5e008
commit
339e2b6b58
|
@ -57,17 +57,17 @@ div - 5 // is it seperating quotients & remainders correctly - when dealing with
|
||||||
|
|
||||||
ori $4, $0, -4
|
ori $4, $0, -4
|
||||||
ori $5, $0, 3
|
ori $5, $0, 3
|
||||||
div $5, $4
|
div $4, $5
|
||||||
mfhi $4
|
mfhi $4
|
||||||
mflo $5
|
mflo $5
|
||||||
addu $2,$4,$5
|
addu $2,$4,$5
|
||||||
jr $0
|
jr $0
|
||||||
|
|
||||||
ref file = 0
|
ref file = 2 - as we are adding -1 and -1 using addu
|
||||||
|
|
||||||
34040004
|
34040004
|
||||||
34050003
|
34050003
|
||||||
00A4001A
|
0085001A
|
||||||
00002010
|
00002010
|
||||||
00002812
|
00002812
|
||||||
00851021
|
00851021
|
||||||
|
|
Loading…
Reference in a new issue