pub fn step(&mut self) -> bool {
        self.previous_program_counter = self.program_counter;
        let instruction = self.read_instruction();

        if self.skip_next_intruction {
            self.execute_skipped_instruction(instruction);
        } else {
            if !self.execute_instruction(instruction) {
                return false;
            }
        }

        // We print the state after the execution.
        self.dump_registers();

        if (self.program_counter as usize) < self.program.len() {
            return true;
        }

        warn!("End of program reached - terminating");
        false
    }
/// Executes a single instruction of the program.
Executes a single instruction of the program.
Executes a single instruction of the program .
pub fn step(&mut self) -> bool {
        self.previous_program_counter = self.program_counter;
        let instruction = self.read_instruction();
        if self.skip_next_intruction {
            self.execute_skipped_instruction(instruction);
        } else {
            if !self.execute_instruction(instruction) {
                return false;
            }
        }
        // We print the state after the execution.
        self.dump_registers();
        if (self.program_counter as usize) < self.program.len() {
            return true;
        }
        warn!("End of program reached - terminating");
        false
    }
pub fn step ( & mut self ) -> bool { self . previous_program_counter = self . program_counter ; let instruction = self . read_instruction ( ) ; if self . skip_next_intruction { self . execute_skipped_instruction ( instruction ) ; } else { if ! self . execute_instruction ( instruction ) { return false ; } } // We print the state after the execution. self . dump_registers ( ) ; if ( self . program_counter as usize ) < self . program . len ( ) { return true ; } warn ! ( " " ) ; false }
Executes a single instruction of the program.
Executes a single instruction of the program .
&mut self