public Assembler(iFeedback _master) { master = _master; oboe = null; curSection = null; }
public Parser(iFeedback _master) { master = _master; assembly = null; symbolTable = new Dictionary <string, Symbol>(); labels = new List <Symbol>(); }
public Tokenizer(iFeedback _master, String filename) { master = _master; prep = new Preprocessor(master, filename); frags = new List <Fragment>(); pseudoList = new HashSet <string>() { "DB", "DW", "DD", "DQ", "DT", "EQU" }; insnList = new InstructionList(); regList = new RegisterList(); }
public Scanner(iFeedback _master, String _filename) { master = _master; filename = _filename; try { source = File.ReadAllText(filename); //read entire file as single string transformSource(); srcpos = 0; } catch (Exception e) { master.fatal("error reading source file " + filename + " : " + e.Message); } }
public Preprocessor(iFeedback _master, string filename) { master = _master; scan = new Scanner(master, filename); //open main source file }