Example #1
0
 public Assembler(ServiceContainer sc, Mos6502Architecture arch, Address addrBase, List <ImageSymbol> symbols)
 {
     this.sc       = sc;
     this.arch     = arch;
     this.addrBase = addrBase;
     this.symbols  = symbols;
     this.m        = new Core.Assemblers.Emitter();
     this.symtab   = new SymbolTable();
 }
Example #2
0
 public Assembler(ServiceContainer sc, IPlatform platform, Address addrBase, List <ImageSymbol> symbols)
 {
     this.sc       = sc;
     this.arch     = new Mos6502ProcessorArchitecture("mos6502");
     this.platform = platform;
     this.addrBase = addrBase;
     this.symbols  = symbols;
     this.m        = new Core.Assemblers.Emitter();
     this.symtab   = new SymbolTable();
 }