1
0
Fork 0
forked from koniifer/ableos
This commit is contained in:
Erin 2023-11-13 00:21:12 +01:00
parent c5c8d23470
commit d255967125

View file

@ -242,7 +242,7 @@ where
}),
JMP => {
let OpsO(off) = self.decode();
self.pc = self.pc.wrapping_add(off);
self.pc = self.pc.wrapping_add(off).wrapping_add(1);
}
JAL => {
// Jump and link. Save PC after this instruction to