Tset all commands (part 1)

This commit is contained in:
unlockable
2024-07-10 23:56:03 +08:00
parent 052bf5f09a
commit 1b53dff9b0
3 changed files with 33 additions and 0 deletions

11
02test_all_inst.asm Normal file
View File

@@ -0,0 +1,11 @@
lui $s0, 0x4000
addi $s1, $0, 0xa
sw $s1, 16($s0)
lw $s2, 16($s0)
addi $s1, $s1, -2
add $s3, $s1, $s2
addu $s3, $s2, $s2
sub $s3, $s2, $s1
subu $s1, $s1, $s3
addiu $s1, $s1, 4
mul $s2, $s1, $s3

11
02test_all_inst.txt Normal file
View File

@@ -0,0 +1,11 @@
20'd0: instruction <= 32'h3c104000;
20'd6: instruction <= 32'h2011000a;
20'd11: instruction <= 32'hae110010;
20'd16: instruction <= 32'h8e120010;
20'd21: instruction <= 32'h2231fffe;
20'd26: instruction <= 32'h02329820;
20'd31: instruction <= 32'h02529821;
20'd36: instruction <= 32'h02519822;
20'd41: instruction <= 32'h02338823;
20'd46: instruction <= 32'h26310004;
20'd51: instruction <= 32'h02339018;

11
02test_all_inst_mars.txt Normal file
View File

@@ -0,0 +1,11 @@
3c104000
2011000a
ae110010
8e120010
2231fffe
02329820
02529821
02519822
02338823
26310004
02339018