summaryrefslogtreecommitdiff
path: root/src/instructions.rs
diff options
context:
space:
mode:
authortaitep <taitep@taitep.se>2025-12-22 22:48:57 +0100
committertaitep <taitep@taitep.se>2025-12-22 22:48:57 +0100
commit0ac363e203c7ea830b095fe353c00ad9cfc0aa3b (patch)
tree0add655bed7f5ba2cdd0e3a641243d8a1da2bc5a /src/instructions.rs
parent7a22570a0f5a16bcfb10e9af7127ef55124716aa (diff)
Implement LW
Diffstat (limited to 'src/instructions.rs')
-rw-r--r--src/instructions.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/instructions.rs b/src/instructions.rs
index 4a7a627..72ce3d2 100644
--- a/src/instructions.rs
+++ b/src/instructions.rs
@@ -45,6 +45,7 @@ pub(crate) fn find_and_exec(instr: Instruction, core: &mut Core) -> Option<Instr
0b000 => Some(rvi::lb(core, instr)),
0b100 => Some(rvi::lbu(core, instr)),
0b001 => Some(rvi::lh(core, instr)),
+ 0b010 => Some(rvi::lw(core, instr)),
0b011 => Some(rvi::ld(core, instr)),
_ => None,
},