protected void AddWatchByLabel(int lineNbr, string data) { var symbol = SimCPU.GetSymbol(data); AddOutput(lineNbr, "STATUS: Add watach " + symbol.Name + " at " + MainForm.Format(symbol.Address, MainForm.Display32)); MainForm.AddWatch(symbol.Name, symbol.Address, (int)symbol.Size); }
protected void AddBreakpointByLabel(int lineNbr, string data) { var symbol = SimCPU.GetSymbol(data); AddOutput(lineNbr, "STATUS: Add breakpoint " + symbol.Name + " at " + MainForm.Format(symbol.Address, MainForm.Display32)); MainForm.AddBreakpoint(symbol.Name, symbol.Address); }