public int AddBreakpointOnProgramLine(ProgramInMemory programInMemory, int lineNumber)
        {
            ProgramLine programLine = programInMemory.Program.Lines[lineNumber - 1];
            InstructionAddressCondition instructionAddressCondition = new InstructionAddressCondition(programLine.LineAddress);
            int breakpointIndex = CPU.AddExitCondition(instructionAddressCondition);

            return(breakpointIndex);
        }
 public int AddBreakpointOnProgramLine(ProgramInMemory programInMemory, int lineNumber)
 {
     ProgramLine programLine = programInMemory.Program.Lines[lineNumber - 1];
     InstructionAddressCondition instructionAddressCondition = new InstructionAddressCondition(programLine.LineAddress);
     int breakpointIndex = CPU.AddExitCondition(instructionAddressCondition);
     return breakpointIndex;
 }