Exemplo n.º 1
0
 public Mos6502ProcessorState(Mos6502ProcessorState that) : base(that)
 {
     this.arch  = that.arch;
     regs       = (byte[])that.regs.Clone();
     this.valid = (bool[])that.valid.Clone();
     this.InstructionPointer = that.InstructionPointer;
 }
Exemplo n.º 2
0
 public Disassembler(Mos6502Architecture arch, EndianImageReader rdr)
 {
     this.arch = arch;
     this.rdr  = rdr;
     this.addr = rdr.Address;
     this.ops  = new List <Operand>();
 }
Exemplo n.º 3
0
 public Mos6502ProcessorState(Mos6502ProcessorState that) : base(that)
 {
     this.arch  = that.arch;
     regs       = (byte[])that.regs.Clone();
     this.valid = (bool[])that.valid.Clone();
     ip         = that.ip;
 }
Exemplo n.º 4
0
 public Mos6502Emulator(Mos6502Architecture arch, SegmentMap segmentMap, IPlatformEmulator envEmulator)
     : base(segmentMap)
 {
     this.arch        = arch;
     this.map         = segmentMap;
     this.envEmulator = envEmulator;
     this.regs        = new ushort[12];
 }
Exemplo n.º 5
0
 public Assembler(IServiceProvider services, Mos6502Architecture arch, Address addrBase, List <ImageSymbol> symbols)
 {
     this.services = services;
     this.arch     = arch;
     this.addrBase = addrBase;
     this.symbols  = symbols;
     this.m        = new Core.Assemblers.Emitter();
     this.symtab   = new SymbolTable();
 }
Exemplo n.º 6
0
 public Rewriter(Mos6502Architecture arch, EndianImageReader rdr, ProcessorState state, IStorageBinder binder, IRewriterHost host)
 {
     this.arch   = arch;
     this.state  = state;
     this.binder = binder;
     this.host   = host;
     this.rdr    = rdr;
     this.dasm   = new Disassembler(rdr).GetEnumerator();
 }
Exemplo n.º 7
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();
 }
Exemplo n.º 8
0
 public Rewriter(Mos6502Architecture arch, EndianImageReader rdr, ProcessorState state, IStorageBinder binder, IRewriterHost host)
 {
     this.arch     = arch;
     this.state    = state;
     this.binder   = binder;
     this.host     = host;
     this.rdr      = rdr;
     this.dasm     = new Disassembler(arch, rdr).GetEnumerator();
     this.instrs   = new List <RtlInstruction>();
     this.m        = new RtlEmitter(instrs);
     this.instrCur = default !;
Exemplo n.º 9
0
 public Mos6502ProcessorState(Mos6502Architecture arch)
 {
     this.arch  = arch;
     this.regs  = new byte[4];
     this.valid = new bool[4];
 }