diff options
author | David Li <li.davidm96@gmail.com> | 2015-12-16 16:15:29 -0500 |
---|---|---|
committer | David Li <li.davidm96@gmail.com> | 2015-12-16 16:15:29 -0500 |
commit | 55a9ca94d64249280438da9b90186e0a4973f90d (patch) | |
tree | 7c2f4d5abdce0b0b00e75bfaa49e154b9be52868 /src/isa/funct3.rs | |
parent | 98475b71bcf5a89c8c1c4c59a0c9f9ade74494f5 (diff) |
Load and recognize a minimal set of instructions
Diffstat (limited to 'src/isa/funct3.rs')
-rw-r--r-- | src/isa/funct3.rs | 8 |
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; |