This commit is contained in:
Erin 2023-09-16 00:57:37 +02:00 committed by ondra05
parent 65e05c809c
commit c62a840eb2

View file

@ -244,6 +244,7 @@ where
usize::from(count), usize::from(count),
); );
} }
JMP => self.pc = Address::new(self.decode::<u64>()),
JAL => { JAL => {
// Jump and link. Save PC after this instruction to // Jump and link. Save PC after this instruction to
// specified register and jump to reg + offset. // specified register and jump to reg + offset.