fn jr_c_sn(cpu: &mut Cpu) {
    let off = next_byte(cpu) as i8;

    if cpu.carry() {
        let mut pc = cpu.pc() as i16;

        pc = pc.wrapping_add(off as i16);

        cpu.load_pc(pc as u16);
    }
}
/// Jump to relative address if `C`
Jump to relative address if `C`
Jump to relative address if ` C `
fn jr_c_sn(cpu: &mut Cpu) {
    let off = next_byte(cpu) as i8;
    if cpu.carry() {
        let mut pc = cpu.pc() as i16;
        pc = pc.wrapping_add(off as i16);
        cpu.load_pc(pc as u16);
    }
}
fn jr_c_sn ( cpu : & mut Cpu ) { let off = next_byte ( cpu ) as i8 ; if cpu . carry ( ) { let mut pc = cpu . pc ( ) as i16 ; pc = pc . wrapping_add ( off as i16 ) ; cpu . load_pc ( pc as u16 ) ; } }
Jump to relative address if `C`
Jump to relative address if ` C `
cpu
&mut Cpu
cpu
&mut Cpu