summaryrefslogtreecommitdiff
path: root/src/instructions.rs
diff options
context:
space:
mode:
authortaitep <taitep@taitep.se>2025-12-22 20:08:16 +0100
committertaitep <taitep@taitep.se>2025-12-22 20:08:16 +0100
commit5cbaf2dc66f6d2c48a6b319506e921d6aa6aef9d (patch)
tree84fdfae2c92cd8b8f2ca84880ad1dcedcb0a9bb4 /src/instructions.rs
parentae57cdc69164b4426edc03564d32c0b8ecc72612 (diff)
Implement BGEU
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 c5519f8..271edd4 100644
--- a/src/instructions.rs
+++ b/src/instructions.rs
@@ -51,6 +51,7 @@ pub(crate) fn find_and_exec(instr: Instruction, core: &mut Core) -> Option<Instr
// BRANCH
0b000 => Some(rvi::beq(core, instr)),
0b001 => Some(rvi::bne(core, instr)),
+ 0b111 => Some(rvi::bgeu(core, instr)),
_ => None,
},
0b01101 => Some(rvi::lui(core, instr)),