public AssemblerCompiler(IInstructionSetProvider instructionSetProvider) { this.instructionSetProvider = instructionSetProvider; instructions = new Dictionary <string, AssemblerOpcodeSet>(); registers = new Dictionary <string, Tuple <byte, RegisterType> >(); constants = new Dictionary <string, int>(); labels = new Dictionary <string, int>(); line = 1; }
public AssemblerOpcodeSet(IInstructionSetProvider instructionSetProvider) { this.instructionSetProvider = instructionSetProvider; this.opcodes = new HashSet <byte>(); }