예제 #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;
 }
예제 #2
0
 public Disassembler(Mos6502Architecture arch, EndianImageReader rdr)
 {
     this.arch = arch;
     this.rdr  = rdr;
     this.addr = rdr.Address;
     this.ops  = new List <Operand>();
 }
예제 #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;
 }
예제 #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];
 }
예제 #5
0
파일: Assembler.cs 프로젝트: nemerle/reko
 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();
 }
예제 #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();
 }
예제 #7
0
파일: Assembler.cs 프로젝트: wxjwz/reko
 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();
 }
예제 #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 !;
예제 #9
0
 public Mos6502ProcessorState(Mos6502Architecture arch)
 {
     this.arch  = arch;
     this.regs  = new byte[4];
     this.valid = new bool[4];
 }