aboutsummaryrefslogtreecommitdiff
path: root/src/isa/funct7.rs
diff options
context:
space:
mode:
authorDavid Li <li.davidm96@gmail.com>2015-12-18 21:20:36 -0500
committerDavid Li <li.davidm96@gmail.com>2015-12-18 21:20:36 -0500
commitfd582a1cbd091576701d12e886d9ad91527320f9 (patch)
tree1b1a2d1cb32cbdb51765939f3a41790e05cc5d8f /src/isa/funct7.rs
parenteaf81f3ea63098a908476d05886c8f00ac7e9389 (diff)
Implement RV32I integer-register instructions
Diffstat (limited to 'src/isa/funct7.rs')
-rw-r--r--src/isa/funct7.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/isa/funct7.rs b/src/isa/funct7.rs
new file mode 100644
index 0000000..f3446fb
--- /dev/null
+++ b/src/isa/funct7.rs
@@ -0,0 +1,2 @@
+pub const ADD_SRL: u32 = 0x0;
+pub const SUB_SRA: u32 = 0x1;