diff options
| author | taitep <taitep@taitep.se> | 2025-12-26 16:06:30 +0100 |
|---|---|---|
| committer | taitep <taitep@taitep.se> | 2025-12-26 16:06:30 +0100 |
| commit | 75e843f5f9220e1de4dde34d70e5077e092b5016 (patch) | |
| tree | b9a3b0563018f81440dda554f0bf745f6a3b796a /src/instructions.rs | |
| parent | 528b519ce98c21049705526442cbde1672495b49 (diff) | |
Make branches macros and implement all of them
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 5e3f39c..c7af5ec 100644 --- a/src/instructions.rs +++ b/src/instructions.rs @@ -69,6 +69,7 @@ pub(crate) fn find_and_exec(instr: Instruction, core: &mut Core) -> Result<(), E 0b000 => rvi::beq(core, instr), 0b001 => rvi::bne(core, instr), 0b100 => rvi::blt(core, instr), + 0b101 => rvi::bge(core, instr), 0b110 => rvi::bltu(core, instr), 0b111 => rvi::bgeu(core, instr), _ => Err(IllegalInstruction), |
