Implement OR

This commit is contained in:
2025-12-22 19:29:31 +01:00
parent 1ddda6614a
commit d0d3775b88
2 changed files with 10 additions and 0 deletions

View File

@@ -17,6 +17,7 @@ pub(crate) fn find_and_exec(instr: Instruction, core: &mut Core) -> Option<Instr
// OP
(0b0000000, 0b000) => Some(rvi::add(core, instr)),
(0b0000000, 0b111) => Some(rvi::and(core, instr)),
(0b0000000, 0b110) => Some(rvi::or(core, instr)),
_ => None,
},
0b00100 => match instr.funct3() {