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