-
Notifications
You must be signed in to change notification settings - Fork 0
/
ALU.txt
61 lines (61 loc) · 1.47 KB
/
ALU.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
52
53
54
55
56
57
58
59
60
61
add add 01100110000000000
sub sub 01100110000100000
sll sll 01100110010000000
slt blt 01100110100000000
sltu sltu 01100110110000000
xor xor 01100111000000000
srl srl 01100111010000000
sra sra 01100111010100000
or or 01100111100000000
and and 01100111110000000
addw add 01110110000000000
subw sub 01110110000100000
sllw sll 01110110010000000
srlw srl 01110111010000000
sraw sra 01110111010100000
lb add 0000011000-1
lh add 0000011001-1
lw add 0000011010-1
ld add 0000011011-1
lbu add 0000011100-1
lhu add 0000011101-1
lwu add 0000011110-1
fence add 0001111000-1
addi add 0010011000-1
slli sll 0010011001-1
slt slt 0010011010-1
sltiu sltu 0010011011-1
xor xor 0010011100-1
srli srl 0010011101-1
sra sra 00100111010100000
ori or 0010011110-1
and and 0010011111-1
addiw and 0011011000-1
slliw sll 00110110010000000
srliw srl 00110111010000000
sraiw sra 00110111010100000
sd add 0100011011-1
jalr add 1100111000-1
ecall add 1110011000000000000000
ebreak add 1110011000000000000001
CSRRW add 1110011001-1
CSRRS add 1110011010-1
CSRRC add 1110011011-1
CSRRWI add 1110011101-1
CSRRSI add 1110011110-1
CSRRCI add 1110011111-1
beq beq 1100011000-1
bne bne 1100011001-1
blt blt 1100011100-1
bge bge 1100011101-1
bltu bltu 1100011110-1
bgeu bgeu 1100011111-1
sb add 0100011000-1
sh add 0100011001-1
sw add 0100011010-1
jal add 1101111-1
auipc add 0010111-1
lui add 0110111-1
mul mul 01100110000000001
div div 01100111000000001
rem rem 01100111100000001