soft-float
Erin 2023-11-13 00:21:12 +01:00
parent c5c8d23470
commit d255967125
1 changed files with 1 additions and 1 deletions

View File

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