forked from AbleOS/holey-bytes
JMP impl
This commit is contained in:
parent
65e05c809c
commit
c62a840eb2
|
@ -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