diff options
author | David Li <li.davidm96@gmail.com> | 2015-12-19 09:27:18 -0500 |
---|---|---|
committer | David Li <li.davidm96@gmail.com> | 2015-12-19 09:27:18 -0500 |
commit | 8ca42acf1a92ac0d811bbeecf8aed25a8c2d5a30 (patch) | |
tree | f824224b73329438bbdd46757294d5991ef2f410 /src/isa/funct7.rs | |
parent | fd582a1cbd091576701d12e886d9ad91527320f9 (diff) |
Implement RV32I integer-immediate instructions
Diffstat (limited to 'src/isa/funct7.rs')
-rw-r--r-- | src/isa/funct7.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/isa/funct7.rs b/src/isa/funct7.rs index f3446fb..f48fae8 100644 --- a/src/isa/funct7.rs +++ b/src/isa/funct7.rs @@ -1,2 +1,5 @@ pub const ADD_SRL: u32 = 0x0; pub const SUB_SRA: u32 = 0x1; + +pub const SRLI: u32 = 0x0; +pub const SRAI: u32 = 0x1; |