mirror of
https://github.com/supleed2/ELEC50010-IAC-CW.git
synced 2024-12-22 21:35:48 +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
|
||||
34045678
|
||||
3C05BFC0
|
||||
3405001C
|
||||
3405101C
|
||||
A0A40000
|
||||
80A20000
|
||||
00000008
|
||||
00000008
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
3C041234
|
||||
34045678
|
||||
3C05BFC0
|
||||
3405001C
|
||||
3405101C
|
||||
A4A40000
|
||||
84A40000
|
||||
00000008
|
||||
84A20000
|
||||
00000008
|
||||
|
|
|
@ -662,16 +662,14 @@ register_v0 = 65535
|
|||
|
||||
lui $4, 0x1234
|
||||
ori $4, $0, 0x5678
|
||||
lui $5, 0xBFC0
|
||||
ori $5, $0, 0x001C
|
||||
ori $5, $0, 0x101C
|
||||
sb $4, 0($5)
|
||||
lb $2, 0($5)
|
||||
jr $0
|
||||
|
||||
3C041234
|
||||
34045678
|
||||
3C05BFC0
|
||||
3405001C
|
||||
3405101C
|
||||
A0A40000
|
||||
80A20000
|
||||
00000008
|
||||
|
@ -682,18 +680,16 @@ register_v0 = 0x00000078
|
|||
|
||||
lui $4, 0x1234
|
||||
ori $4, $0, 0x5678
|
||||
lui $5, 0xBFC0
|
||||
ori $5, $0, 0x001C
|
||||
ori $5, $0, 0x101C
|
||||
sh $4, 0($5)
|
||||
lh $2, 0($5)
|
||||
jr $0
|
||||
|
||||
3C041234
|
||||
34045678
|
||||
3C05BFC0
|
||||
3405001C
|
||||
3405101C
|
||||
A4A40000
|
||||
84A40000
|
||||
84A20000
|
||||
00000008
|
||||
|
||||
register_v0 = 0x00005678
|
||||
|
|
Loading…
Reference in a new issue