From d0d3775b888b6cf1e7d240d3426db4175c200b48 Mon Sep 17 00:00:00 2001 From: taitep Date: Mon, 22 Dec 2025 19:29:31 +0100 Subject: Implement OR --- 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 3096ed0..6e9fbd8 100644 --- a/src/instructions.rs +++ b/src/instructions.rs @@ -17,6 +17,7 @@ pub(crate) fn find_and_exec(instr: Instruction, core: &mut Core) -> Option Some(rvi::add(core, instr)), (0b0000000, 0b111) => Some(rvi::and(core, instr)), + (0b0000000, 0b110) => Some(rvi::or(core, instr)), _ => None, }, 0b00100 => match instr.funct3() { -- cgit v1.2.3