summaryrefslogtreecommitdiff
path: root/src/instructions.rs
diff options
context:
space:
mode:
authortaitep <taitep@taitep.se>2025-12-21 19:01:02 +0100
committertaitep <taitep@taitep.se>2025-12-21 19:01:02 +0100
commit2e1c0a7dce7b5ce225b7ac56897eff2c65acdaa7 (patch)
tree3255caae1a1fae5bf054236472bd4d900b53c2e2 /src/instructions.rs
parent5c132b55e9d197df0eca9e82db556f0dfb65a627 (diff)
Implement AUIPC
Diffstat (limited to 'src/instructions.rs')
-rw-r--r--src/instructions.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/instructions.rs b/src/instructions.rs
index 68b43a6..bf942ee 100644
--- a/src/instructions.rs
+++ b/src/instructions.rs
@@ -48,6 +48,7 @@ pub(crate) fn find_and_exec(instr: Instruction, core: &mut Core) -> Option<Instr
},
0b01101 => Some(rvi::lui(core, instr)),
0b11011 => Some(rvi::jal(core, instr)),
+ 0b00101 => Some(rvi::auipc(core, instr)),
_ => None,
}
}