summaryrefslogtreecommitdiff
path: root/src/instructions.rs
diff options
context:
space:
mode:
authortaitep <taitep@taitep.se>2025-12-21 12:20:30 +0100
committertaitep <taitep@taitep.se>2025-12-21 12:20:30 +0100
commit23647ae9660189781b9ac452865f7c10f4cc9150 (patch)
treeb97f7cd47ebeebb4b72d17f65804f71783760e7e /src/instructions.rs
parentac9506a1a785495a8f5f299ca90f948cce28ecc7 (diff)
Add JAL and change some of the formatting on previous instructions to be cleaner
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 eead29f..bfedaee 100644
--- a/src/instructions.rs
+++ b/src/instructions.rs
@@ -29,6 +29,7 @@ pub(crate) fn find_and_exec(instr: Instruction, core: &mut Core) -> Option<Instr
_ => None,
},
0b01101 => Some(rvi::lui(core, instr)),
+ 0b11011 => Some(rvi::jal(core, instr)),
_ => None,
}
}