From fd582a1cbd091576701d12e886d9ad91527320f9 Mon Sep 17 00:00:00 2001
From: David Li
Date: Fri, 18 Dec 2015 21:20:36 -0500
Subject: Implement RV32I integer-register instructions
---
src/isa/opcodes.rs | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
(limited to 'src/isa/opcodes.rs')
diff --git a/src/isa/opcodes.rs b/src/isa/opcodes.rs
index 33af0f6..e5763e3 100644
--- a/src/isa/opcodes.rs
+++ b/src/isa/opcodes.rs
@@ -1,4 +1,8 @@
-pub const BRANCH: u32 = 0x12;
+pub const BRANCH: u32 = 0x63;
+pub const JALR: u32 = 0x67;
+pub const JAL: u32 = 0x68;
pub const INTEGER_IMMEDIATE: u32 = 0x13;
+pub const INTEGER_REGISTER: u32 = 0x33;
pub const LOAD: u32 = 0x3;
pub const STORE: u32 = 0x23;
+pub const SYSTEM: u32 = 0x73;
--
cgit v1.2.3