forked from AbleOS/holey-bytes
Ehm?
This commit is contained in:
parent
4170245098
commit
f639eeebb4
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue