-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtest-cases.txt
36 lines (25 loc) · 1.18 KB
/
test-cases.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
// R-format instructions
00000001010010110100100000100000 -> add $9, $10, $11
014B4820 -> add $9, $10, $11
00000000111001010101000000100000 -> add $10, $7, $5
00E55020 -> add $10, $7, $5
00000001001010100100000000100000 -> add $8, $9, $10
012A4020 -> add $8, $9, $10
00000000000010010100000100000000 -> sll $8, $9, 4
00094100 -> sll $8, $9, 4
00000000010000110000100000100100 -> and $1, $2, $3
00430824 -> and $1, $2, $3
// I-format instructions
00100010110101011111111111001110 -> addi $21, $22, -50
22D5FFCE -> addi $21, $22, -50
10001101000010010000000000001100 -> lw $9, 12($8)
8D09000C -> lw $9, 12($8)
10101100011000010000000000000100 -> sw $1, 4($3)
AC610004 -> sw $1, 4($3)
00010000010001000000000000000011 -> beq $2, $4, 3
10440003 -> beq $2, $4, 3
00010001001000000000000000000011 -> beq $9, $0, 3
11200003 -> beq $9, $0, 3
// J-format instructions
00001000001111000011110000111100 -> j 0x03C3C3C
083C3C3C -> j 0x03C3C3C