fn bit_b(cpu: &mut Cpu, bit: u8) {
        let b = cpu.b();

        cpu.set_zero(bit_zero(b, bit));
        cpu.set_substract(false);
        cpu.set_halfcarry(true);
    }
/// Helper function to test bits in `B`
Helper function to test bits in `B`
Helper function to test bits in ` B `
fn bit_b(cpu: &mut Cpu, bit: u8) {
        let b = cpu.b();
        cpu.set_zero(bit_zero(b, bit));
        cpu.set_substract(false);
        cpu.set_halfcarry(true);
    }
fn bit_b ( cpu : & mut Cpu , bit : u8 ) { let b = cpu . b ( ) ; cpu . set_zero ( bit_zero ( b , bit ) ) ; cpu . set_substract ( false ) ; cpu . set_halfcarry ( true ) ; }
Helper function to test bits in `B`
Helper function to test bits in ` B `
cpu
&mut Cpu
bit
u8
cpu
&mut Cpu
bit
u8