public bool step() { interruptController.checkInterrupts(); int pc = memory.getFullPC(); bool isInList = breakPoints.IndexOf(pc) != -1; //returns true if pc is in breakpoint-list if (isInList) { return(true); } int commandCode = rom.fetchCommand(pc); Command command = decoder.decodeCommand(commandCode); executer.executeCommand(command); memory.incPC(); incTimer0ByProgram(); //reset watchdog return(false); }