pub fn breakpoint_at_pc(core: &mut Core) -> Result<bool> {
    let mut instr16 = [0u8; 2];
    let pc_val = current_pc(core)?;
    core.read_8(pc_val, &mut instr16)?;

    let check = match instr16[1] {
        0b10111110 => true,
        _ => false,
    };
    Ok(check)
}
/// Checks if there is a breakpoint at the current program counter.
Checks if there is a breakpoint at the current program counter.
Checks if there is a breakpoint at the current program counter .
pub fn breakpoint_at_pc(core: &mut Core) -> Result<bool> {
    let mut instr16 = [0u8; 2];
    let pc_val = current_pc(core)?;
    core.read_8(pc_val, &mut instr16)?;
    let check = match instr16[1] {
        0b10111110 => true,
        _ => false,
    };
    Ok(check)
}
pub fn breakpoint_at_pc ( core : & mut Core ) -> Result < bool > { let mut instr16 = [ 0u8 ; 2 ] ; let pc_val = current_pc ( core ) ? ; core . read_8 ( pc_val , & mut instr16 ) ? ; let check = match instr16 [ 1 ] { 0b10111110 => true , _ => false , } ; Ok ( check ) }
Checks if there is a breakpoint at the current program counter.
Checks if there is a breakpoint at the current program counter .
core
&mut Core
core
&mut Core