mirror of
https://github.com/supleed2/ELEC50010-IAC-CW.git
synced 2024-11-10 01:35:49 +00:00
Fix sb, sh testcases
Tried to write to instr mem + typo
This commit is contained in:
parent
ad394c7d7d
commit
c8344184b2
|
@ -1,7 +1,6 @@
|
||||||
3C041234
|
3C041234
|
||||||
34045678
|
34045678
|
||||||
3C05BFC0
|
3405101C
|
||||||
3405001C
|
|
||||||
A0A40000
|
A0A40000
|
||||||
80A20000
|
80A20000
|
||||||
00000008
|
00000008
|
|
@ -1,7 +1,6 @@
|
||||||
3C041234
|
3C041234
|
||||||
34045678
|
34045678
|
||||||
3C05BFC0
|
3405101C
|
||||||
3405001C
|
|
||||||
A4A40000
|
A4A40000
|
||||||
84A40000
|
84A20000
|
||||||
00000008
|
00000008
|
|
@ -662,16 +662,14 @@ register_v0 = 65535
|
||||||
|
|
||||||
lui $4, 0x1234
|
lui $4, 0x1234
|
||||||
ori $4, $0, 0x5678
|
ori $4, $0, 0x5678
|
||||||
lui $5, 0xBFC0
|
ori $5, $0, 0x101C
|
||||||
ori $5, $0, 0x001C
|
|
||||||
sb $4, 0($5)
|
sb $4, 0($5)
|
||||||
lb $2, 0($5)
|
lb $2, 0($5)
|
||||||
jr $0
|
jr $0
|
||||||
|
|
||||||
3C041234
|
3C041234
|
||||||
34045678
|
34045678
|
||||||
3C05BFC0
|
3405101C
|
||||||
3405001C
|
|
||||||
A0A40000
|
A0A40000
|
||||||
80A20000
|
80A20000
|
||||||
00000008
|
00000008
|
||||||
|
@ -682,18 +680,16 @@ register_v0 = 0x00000078
|
||||||
|
|
||||||
lui $4, 0x1234
|
lui $4, 0x1234
|
||||||
ori $4, $0, 0x5678
|
ori $4, $0, 0x5678
|
||||||
lui $5, 0xBFC0
|
ori $5, $0, 0x101C
|
||||||
ori $5, $0, 0x001C
|
|
||||||
sh $4, 0($5)
|
sh $4, 0($5)
|
||||||
lh $2, 0($5)
|
lh $2, 0($5)
|
||||||
jr $0
|
jr $0
|
||||||
|
|
||||||
3C041234
|
3C041234
|
||||||
34045678
|
34045678
|
||||||
3C05BFC0
|
3405101C
|
||||||
3405001C
|
|
||||||
A4A40000
|
A4A40000
|
||||||
84A40000
|
84A20000
|
||||||
00000008
|
00000008
|
||||||
|
|
||||||
register_v0 = 0x00005678
|
register_v0 = 0x00005678
|
||||||
|
|
Loading…
Reference in a new issue