aboutsummaryrefslogtreecommitdiff
path: root/src/isa/opcodes.rs
diff options
context:
space:
mode:
authorDavid Li <li.davidm96@gmail.com>2015-12-16 16:15:29 -0500
committerDavid Li <li.davidm96@gmail.com>2015-12-16 16:15:29 -0500
commit55a9ca94d64249280438da9b90186e0a4973f90d (patch)
tree7c2f4d5abdce0b0b00e75bfaa49e154b9be52868 /src/isa/opcodes.rs
parent98475b71bcf5a89c8c1c4c59a0c9f9ade74494f5 (diff)
Load and recognize a minimal set of instructions
Diffstat (limited to 'src/isa/opcodes.rs')
-rw-r--r--src/isa/opcodes.rs6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/isa/opcodes.rs b/src/isa/opcodes.rs
index 0ea7613..33af0f6 100644
--- a/src/isa/opcodes.rs
+++ b/src/isa/opcodes.rs
@@ -1,2 +1,4 @@
-pub const Branch: u32 = 0x12;
-pub const IntegerImmediate: u32 = 0x13;
+pub const BRANCH: u32 = 0x12;
+pub const INTEGER_IMMEDIATE: u32 = 0x13;
+pub const LOAD: u32 = 0x3;
+pub const STORE: u32 = 0x23;