forked from koniifer/ableos
JMP impl
This commit is contained in:
parent
35f90e94a8
commit
8c8c708279
|
@ -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.
|
||||||
|
|
Loading…
Reference in a new issue