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/funct3.rs | |
parent | fd582a1cbd091576701d12e886d9ad91527320f9 (diff) |
Implement RV32I integer-immediate instructions
Diffstat (limited to 'src/isa/funct3.rs')
-rw-r--r-- | src/isa/funct3.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/isa/funct3.rs b/src/isa/funct3.rs index 0612844..be2eafa 100644 --- a/src/isa/funct3.rs +++ b/src/isa/funct3.rs @@ -3,8 +3,7 @@ pub const SLLI: u32 = 0x1; pub const SLTI: u32 = 0x2; pub const SLTIU: u32 = 0x3; pub const XORI: u32 = 0x4; -pub const SRLI: u32 = 0x5; -pub const SRAI: u32 = 0x5; +pub const SRLI_SRAI: u32 = 0x5; pub const ORI: u32 = 0x6; pub const ANDI: u32 = 0x7; |