diff --git a/hbvm/src/vmrun.rs b/hbvm/src/vmrun.rs index 56e7f429..d5bb3bf6 100644 --- a/hbvm/src/vmrun.rs +++ b/hbvm/src/vmrun.rs @@ -374,7 +374,10 @@ where /// Bump instruction pointer #[inline(always)] fn bump_pc(&mut self) { - self.pc = self.pc.wrapping_add(core::mem::size_of::()); + self.pc = self + .pc + .wrapping_add(core::mem::size_of::()) + .wrapping_add(1); } /// Decode instruction operands