forked from koniifer/ableos
Ehm?
This commit is contained in:
parent
c5c8d23470
commit
d255967125
|
@ -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