uploading log.txt weirdness testcase

This commit is contained in:
theexecutor13 2020-12-17 14:31:33 +00:00
parent 0bdbb63f49
commit 6c400f3567
7 changed files with 60 additions and 0 deletions

View file

@ -0,0 +1 @@
0

4
inputs/addu/addu-2.txt Normal file
View file

@ -0,0 +1,4 @@
3C041000
3C05F000
00000008
00851021

View file

@ -0,0 +1 @@
2

View file

@ -0,0 +1,5 @@
3C04FFFF
04910004
03E00008
24420001
00000008

1
inputs/jr/jr-3.ref.txt Normal file
View file

@ -0,0 +1 @@
0

4
inputs/jr/jr-3.txt Normal file
View file

@ -0,0 +1,4 @@
3C05BFC0
34A50008
00A00008
00000008

View file

@ -30,6 +30,20 @@ ADDU $2,$4,$5
register_v0 = 8 register_v0 = 8
-Test not overflowing property
lui $4,$0,0x1000
lui $5,$0,0xF000
JR $0
ADDU $2,$4,$5
3C041000
3C05F000
00000008
00851021
register_v0 = 0
==AND Bitwise and== ==AND Bitwise and==
LUI $5,0xCCCC LUI $5,0xCCCC
@ -126,6 +140,22 @@ JR $31
register_v0 = 2 register_v0 = 2
-Testing whether it would link if branch fails
lui $4,0xFFFF
BGEZAL $4,4
JR $31
ADDIU $2,$2,1
JR $0
3C04FFFF
04910004
03E00008
24420001
00000008
register_v0 = 2
==BGTZ Branch on greater than zero== ==BGTZ Branch on greater than zero==
ORI $4,$0,3 ORI $4,$0,3
@ -363,6 +393,20 @@ ORI $2,$0,5
register_v0 = 5 register_v0 = 5
-This broke testbench once due to log.txt weirdness
LUI $5,0xBFC0
ORI $5,$5,0x0008
JR $5
JR $0
3C05BFC0
34A50008
00A00008
00000008
register_v0 = 0
==LB Load byte== ==LB Load byte==
ORI $4,$0,0x1001 ORI $4,$0,0x1001