-
Notifications
You must be signed in to change notification settings - Fork 3
/
instructions.txt
51 lines (51 loc) · 1.24 KB
/
instructions.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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
add rd rs rt / add rd rs const
addu rd rs rt / addu rd rs const
addiu rd rs const
sub rd rs rt / sub rd rs const
subu rd rs rt / subu rd rs const
mul rd rs rt / mul rd rs const / mul rs rt
mulu rd rs rt / mulu rd rs const / mulu rs rt
div rd rs rt / div rd rs const / div rs rt
divu rd rs rt / divu rd rs const / divu rs rt
xor rd rs rt / xor rd rs const
xoru rd rs rt / xoru rd rs const
neg rd rs
negu rd rs
rem rd rs rt / rem rd rs const
remu rd rs rt / remu rd rs const
li rd const
seq rd rs rt / seq rd rs const
sge rd rs rt / sge rd rs const
sgt rd rs rt / sgt rd rs const
sle rd rs rt / sle rd rs const
slt rd rs rt / slt rd rs const
sne rd rs rt / sne rd rs const
b addr
beq rs rt addr / beq rs const addr
bne rs rt addr / bne rs const addr
bge rs rt addr / bge rs const addr
ble rs rt addr / ble rs const addr
bgt rs rt addr / bgt rs const addr
blt rs rt addr / blt rs const addr
beqz rs addr
bnez rs addr
blez rs addr
bgez rs addr
bgtz rs addr
bltz rs addr
j addr
jr rs
jal addr
jalr rs
la rd addr / la rd rt offset
lb rd addr / lb rd rt offset
lh rd addr / lh rd rt offset
lw rd addr / lw rd rt offset
sb rs addr / sb rs rt offset
sh rs addr / sh rs rt offset
sw rs addr / sw rs rt offset
move rd rs
mfhi rd
mflo rd
nop
syscall (1 / 4 / 5 / 8 / 9 / 10 / 17)