Example #1
0
 public YmpDisassembler(CrayYmpArchitecture arch, Decoder <YmpDisassembler, Mnemonic, CrayInstruction> decoder, EndianImageReader rdr)
 {
     this.arch = arch;
     // Crays are weird; we can only disassemble areas that have 16-bit granularity.
     this.rdr         = rdr as Word16BeImageReader;
     this.ops         = new List <MachineOperand>();
     this.rootDecoder = decoder;
 }
Example #2
0
 public YmpRewriter(CrayYmpArchitecture arch, Decoder <YmpDisassembler, Mnemonic, CrayInstruction> decoder, 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 YmpDisassembler(arch, decoder, rdr).GetEnumerator();
 }
Example #3
0
 public void Setup()
 {
     this.arch = new CrayYmpArchitecture(new ServiceContainer(), "crayYmp", new Dictionary <string, object>());
     this.addr = Address.Ptr32(0x00100000);
 }
Example #4
0
 public YmpDisassembler(CrayYmpArchitecture arch, EndianImageReader rdr)
 {
     this.arch = arch;
     this.rdr  = rdr;
     this.ops  = new List <MachineOperand>();
 }
Example #5
0
 public void Setup()
 {
     this.arch = new CrayYmpArchitecture("crayYmp");
     this.addr = Address.Ptr32(0x00100000);
 }
Example #6
0
 public void Setup()
 {
     this.arch = new CrayYmpArchitecture(new ServiceContainer(), "crayYmp");
     this.addr = Address.Ptr32(0x00100000);
 }