예제 #1
0
 public EtraxDisassembler(EtraxArchitecture arch, EndianImageReader rdr)
 {
     this.arch = arch;
     this.rdr  = rdr;
     this.ops  = new List <MachineOperand>();
     this.addr = null !;
 }
예제 #2
0
 public EtraxRewriter(EtraxArchitecture arch, EndianImageReader rdr, ProcessorState state, IStorageBinder binder, IRewriterHost host)
 {
     this.arch   = arch;
     this.rdr    = rdr;
     this.state  = state;
     this.binder = binder;
     this.host   = host;
     this.dasm   = new EtraxDisassembler(arch, rdr).GetEnumerator();
     this.instrs = new List <RtlInstruction>();
     this.m      = new RtlEmitter(instrs);
     instr       = default !;
예제 #3
0
 public EtraxProcessorState(EtraxArchitecture arch)
 {
     this.arch = arch;
 }