summaryrefslogtreecommitdiff
path: root/src/instructions.rs
diff options
context:
space:
mode:
authortaitep <taitep@taitep.se>2025-12-21 14:24:20 +0100
committertaitep <taitep@taitep.se>2025-12-21 14:24:20 +0100
commiteec40b069ad6cf8e91c358bf37b5518e4b0623ff (patch)
treeafcb3487fa7cac792be61b347accf313a09b8bee /src/instructions.rs
parente9100360581845db23ba93066b443cc3f9fb85fb (diff)
Implement SB
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 fc270dc..5261dde 100644
--- a/src/instructions.rs
+++ b/src/instructions.rs
@@ -30,6 +30,7 @@ pub(crate) fn find_and_exec(instr: Instruction, core: &mut Core) -> Option<Instr
},
0b01000 => match instr.funct3() {
// STORE
+ 0b000 => Some(rvi::sb(core, instr)),
0b011 => Some(rvi::sd(core, instr)),
_ => None,
},