This commit is contained in:
Erin 2023-09-16 00:57:37 +02:00
parent 35f90e94a8
commit 8c8c708279

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.