Exemple #1
0
 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>();
 }
Exemple #2
0
 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;
 }