public Assembler(InstructionSet instructionSet) { InstructionSet = instructionSet; ExpressionEngine = new ExpressionEngine(); SuspendedLines = 0; LineNumbers = new Stack<int>(); FileNames = new Stack<string>(); IncludePaths = new List<string>(); Macros = new List<Macro>(); }
public Assembler(InstructionSet instructionSet, AssemblySettings settings) { InstructionSet = instructionSet; Settings = settings; ExpressionEngine = new ExpressionEngine(settings); SuspendedLines = 0; LineNumbers = new Stack<int>(); FileNames = new Stack<string>(); IncludePaths = new List<string>(); Macros = new List<Macro>(); IfStack = new Stack<bool>(); WorkingIfStack = new Stack<bool>(); Listing = true; }