示例#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;
 }
示例#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();
 }
示例#3
0
 public void Setup()
 {
     this.arch = new CrayYmpArchitecture(new ServiceContainer(), "crayYmp", new Dictionary <string, object>());
     this.addr = Address.Ptr32(0x00100000);
 }
示例#4
0
 public YmpDisassembler(CrayYmpArchitecture arch, EndianImageReader rdr)
 {
     this.arch = arch;
     this.rdr  = rdr;
     this.ops  = new List <MachineOperand>();
 }
示例#5
0
 public void Setup()
 {
     this.arch = new CrayYmpArchitecture("crayYmp");
     this.addr = Address.Ptr32(0x00100000);
 }
示例#6
0
 public void Setup()
 {
     this.arch = new CrayYmpArchitecture(new ServiceContainer(), "crayYmp");
     this.addr = Address.Ptr32(0x00100000);
 }