Implement AND and improve formatting and ordering in rvi.rs

This commit is contained in:
2025-12-22 19:25:19 +01:00
parent ff161a69e6
commit 1ddda6614a
2 changed files with 14 additions and 13 deletions

View File

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