diff options
| author | taitep <taitep@taitep.se> | 2025-12-23 09:51:53 +0100 |
|---|---|---|
| committer | taitep <taitep@taitep.se> | 2025-12-23 09:51:53 +0100 |
| commit | c6da147d505020fe5d7ca3b505d412d42cb599e3 (patch) | |
| tree | c6463d2cc48594f811edb1c367e69b02494e6a77 /src/instructions.rs | |
| parent | 643a39c24a9047777086809160a26badac938119 (diff) | |
Implement BLT
Diffstat (limited to 'src/instructions.rs')
| -rw-r--r-- | src/instructions.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/instructions.rs b/src/instructions.rs index 72ce3d2..2297994 100644 --- a/src/instructions.rs +++ b/src/instructions.rs @@ -53,6 +53,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)), + 0b100 => Some(rvi::blt(core, instr)), 0b110 => Some(rvi::bltu(core, instr)), 0b111 => Some(rvi::bgeu(core, instr)), _ => None, |
