Example #1
0
 public Nios2Rewriter(Nios2Architecture 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 Nios2Disassembler(arch, rdr).GetEnumerator();
     this.instrs = new List <RtlInstruction>();
     this.m      = new RtlEmitter(instrs);
     this.instr  = default !;
Example #2
0
 public Nios2DisassemblerTests()
 {
     this.arch = new Nios2Architecture(CreateServiceContainer(), "nios2", new Dictionary<string, object>());
     this.addr = Address.Ptr32(0x0010_0000);
 }
Example #3
0
 public Nios2State(Nios2Architecture arch)
 {
     this.arch = arch;
 }
Example #4
0
 public Nios2Disassembler(Nios2Architecture arch, EndianImageReader imageReader)
 {
     this.arch = arch;
     this.rdr  = imageReader;
     this.ops  = new List <MachineOperand>();
     this.addr = default !;