From 75e843f5f9220e1de4dde34d70e5077e092b5016 Mon Sep 17 00:00:00 2001 From: taitep Date: Fri, 26 Dec 2025 16:06:30 +0100 Subject: Make branches macros and implement all of them --- src/instructions.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/instructions.rs') 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), -- cgit v1.2.3