mirror of
https://github.com/supleed2/ELEC50010-IAC-CW.git
synced 2024-12-22 21:35:48 +00:00
Fix div-5 testcase minor error
This commit is contained in:
parent
2a7b9c2c49
commit
f3779e1cc3
|
@ -1 +1 @@
|
||||||
3
|
2
|
||||||
|
|
|
@ -55,7 +55,7 @@ reg file = -2
|
||||||
|
|
||||||
div - 5 // is it seperating quotients & remainders correctly - when dealing with negatives
|
div - 5 // is it seperating quotients & remainders correctly - when dealing with negatives
|
||||||
|
|
||||||
ori $4, $0, -4
|
ori $4, $0, 4
|
||||||
ori $5, $0, 3
|
ori $5, $0, 3
|
||||||
div $4, $5
|
div $4, $5
|
||||||
mfhi $4
|
mfhi $4
|
||||||
|
|
Loading…
Reference in a new issue