public void AssembleLine(SourceLine line) { if (line.Instruction.Equals(".cpu", StringComparison.Ordinal)) { CpuChanged?.Invoke(new CpuChangedEventArgs { Line = new SourceLine { Operand = line.Operand } }); } }
void OnCpuChanged(SourceLine line) { if (CpuChanged != null) { CpuChanged.Invoke(new CpuChangedEventArgs { Line = line }); } else { Assembler.Log.LogEntry(line, ErrorStrings.UnknownInstruction, line.Instruction); } }