summaryrefslogtreecommitdiff
path: root/src/instructions.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/instructions.rs')
-rw-r--r--src/instructions.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/instructions.rs b/src/instructions.rs
index e72dfb5..a2edc53 100644
--- a/src/instructions.rs
+++ b/src/instructions.rs
@@ -35,11 +35,13 @@ pub(crate) fn find_and_exec(instr: Instruction, core: &mut Core) -> Option<Instr
// LOAD
0b000 => Some(rvi::lb(core, instr)),
0b100 => Some(rvi::lbu(core, instr)),
+ 0b011 => Some(rvi::ld(core, instr)),
_ => None,
},
0b11000 => match instr.funct3() {
// BRANCH
0b000 => Some(rvi::beq(core, instr)),
+ 0b001 => Some(rvi::bne(core, instr)),
_ => None,
},
0b01101 => Some(rvi::lui(core, instr)),