/// Halts the DCPU for a specified number of cycles.
Halts the DCPU for a specified number of cycles.
Halts the DCPU for a specified number of cycles .
pub fn halt(&mut self, cycles: usize) -> () {
        if self.inside_run {
            self.cycle += cycles;
        } else {
            self.overshot_cycles += cycles as isize;
        }
    }
pub fn halt ( & mut self , cycles : usize ) -> ( ) { if self . inside_run { self . cycle += cycles ; } else { self . overshot_cycles += cycles as isize ; } }
Halts the DCPU for a specified number of cycles.
Halts the DCPU for a specified number of cycles .
&mut self
cycles
usize