예제 #1
0
        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);
        }
예제 #2
0
        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);
        }