pub fn halt(cpu: &mut CPU) -> u8 {
    cpu.halt = true;

    4
}
/// Halt the system clock, though let the oscillator and LCD controller continue to run.
///
/// Halt mode can be cancelled by an interrupt or reset signal.
///
/// Takes 4 cycles.
///
/// # Examples
///
/// ```asm
/// HALT
/// ```
Halt the system clock, though let the oscillator and LCD controller continue to run.
Halt mode can be cancelled by an interrupt or reset signal.

Takes 4 cycles.
Halt the system clock though let the oscillator and LCD controller continue to run . Halt mode can be cancelled by an interrupt or reset signal . Takes 4 cycles .
pub fn halt(cpu: &mut CPU) -> u8 {
    cpu.halt = true;
    4
}
pub fn halt ( cpu : & mut CPU ) -> u8 { cpu . halt = true ; 4 }
Halt the system clock, though let the oscillator and LCD controller continue to run.
Halt the system clock though let the oscillator and LCD controller continue to run .
cpu
&mut CPU
cpu
&mut CPU
examples
None