pub fn modify_ip(&mut self, offset: isize) -> Result<(), VmError> {
        self.ip = if offset < 0 {
            self.ip.overflowing_sub(-offset as usize).0
        } else {
            self.ip.overflowing_add(offset as usize).0
        };

        Ok(())
    }
/// Modify the current instruction pointer.
Modify the current instruction pointer.
Modify the current instruction pointer .
pub fn modify_ip(&mut self, offset: isize) -> Result<(), VmError> {
        self.ip = if offset < 0 {
            self.ip.overflowing_sub(-offset as usize).0
        } else {
            self.ip.overflowing_add(offset as usize).0
        };
        Ok(())
    }
pub fn modify_ip ( & mut self , offset : isize ) -> Result < ( ) , VmError > { self . ip = if offset < 0 { self . ip . overflowing_sub ( - offset as usize ) . 0 } else { self . ip . overflowing_add ( offset as usize ) . 0 } ; Ok ( ( ) ) }
Modify the current instruction pointer.
Modify the current instruction pointer .
&mut self
offset
isize
&mut self
offset
isize