aboutsummaryrefslogtreecommitdiff
path: root/src/isa/funct3.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/isa/funct3.rs')
-rw-r--r--src/isa/funct3.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/isa/funct3.rs b/src/isa/funct3.rs
new file mode 100644
index 0000000..d9a626a
--- /dev/null
+++ b/src/isa/funct3.rs
@@ -0,0 +1,8 @@
+pub const ADDI: u32 = 0x0;
+pub const SLLI: u32 = 0x1;
+pub const SLTI: u32 = 0x2;
+pub const SLTIU: u32 = 0x3;
+
+pub const LW: u32 = 0x2;
+
+pub const SW: u32 = 0x2;