fn scf(gb: &mut GameBoy) {
    gb.cpu.set_flag(Flag::C, true);
    gb.cpu.set_flag(Flag::N, false);
    gb.cpu.set_flag(Flag::H, false);

}
/// SCF sets the carry flag to 1.
///The Z,  P and S flags are unaffected. The N and H flags are reset to 0.
SCF sets the carry flag to 1.
The Z,  P and S flags are unaffected. The N and H flags are reset to 0.
SCF sets the carry flag to 1 . The Z P and S flags are unaffected . The N and H flags are reset to 0 .
fn scf(gb: &mut GameBoy) {
    gb.cpu.set_flag(Flag::C, true);
    gb.cpu.set_flag(Flag::N, false);
    gb.cpu.set_flag(Flag::H, false);
}
fn scf ( gb : & mut GameBoy ) { gb . cpu . set_flag ( Flag :: C , true ) ; gb . cpu . set_flag ( Flag :: N , false ) ; gb . cpu . set_flag ( Flag :: H , false ) ; }
SCF sets the carry flag to 1.
SCF sets the carry flag to 1 .
gb
&mut GameBoy