상속: Reko.Core.ProcessorArchitecture
 public void Setup()
 {
     mr = new MockRepository();
     mockFactory = new MockFactory(mr);
     arch = new PowerPcArchitecture32();
     var sc = new ServiceContainer();
 }
 public void Setup()
 {
     mr = new MockRepository();
     mockFactory = new MockFactory(mr);
     arch = new PowerPcArchitecture32();
     platform = new SysVPlatform(null, arch);
 }
예제 #3
0
 public PowerPcProcedureSerializer(
     PowerPcArchitecture arch,
     ISerializedTypeVisitor<DataType> typeLoader,
     string defaultCc)
     : base(arch, typeLoader, defaultCc)
 {
     this.arch = arch;
 }
예제 #4
0
 public PowerPcState(PowerPcState other)
 {
     this.arch = other.arch;
     this.regs = new ulong[other.regs.Length];
     this.valid = new bool[other.valid.Length];
     for (int i = 0; i < other.regs.Length; ++i)
     {
         this.regs[i] = other.regs[i];
         this.valid[i] = other.valid[i];
     }
 }
예제 #5
0
        public InstructionBuilder(PowerPcArchitecture arch, Address start)
        {
            this.arch = arch;
            this.Instructions = new List<PowerPcInstruction>();
            this.r0 = new RegisterOperand(arch.Registers[0]);
            this.r1 = new RegisterOperand(arch.Registers[1]);
            this.r2 = new RegisterOperand(arch.Registers[2]);
            this.r3 = new RegisterOperand(arch.Registers[3]);
            this.r4 = new RegisterOperand(arch.Registers[4]);
            this.r5 = new RegisterOperand(arch.Registers[5]);
            this.r6 = new RegisterOperand(arch.Registers[6]);
            this.r7 = new RegisterOperand(arch.Registers[7]);
            this.r8 = new RegisterOperand(arch.Registers[8]);
            this.r9 = new RegisterOperand(arch.Registers[9]);
            this.r10 = new RegisterOperand(arch.Registers[10]);
            this.r11 = new RegisterOperand(arch.Registers[11]);
            this.r12 = new RegisterOperand(arch.Registers[12]);
            this.r13 = new RegisterOperand(arch.Registers[13]);
            this.r14 = new RegisterOperand(arch.Registers[14]);
            this.r15 = new RegisterOperand(arch.Registers[15]);
            this.r16 = new RegisterOperand(arch.Registers[16]);
            this.r17 = new RegisterOperand(arch.Registers[17]);
            this.r18 = new RegisterOperand(arch.Registers[18]);
            this.r19 = new RegisterOperand(arch.Registers[19]);
            this.r20 = new RegisterOperand(arch.Registers[20]);
            this.r21 = new RegisterOperand(arch.Registers[21]);
            this.r22 = new RegisterOperand(arch.Registers[22]);
            this.r23 = new RegisterOperand(arch.Registers[23]);
            this.r24 = new RegisterOperand(arch.Registers[24]);
            this.r25 = new RegisterOperand(arch.Registers[25]);
            this.r26 = new RegisterOperand(arch.Registers[26]);
            this.r27 = new RegisterOperand(arch.Registers[27]);
            this.r28 = new RegisterOperand(arch.Registers[28]);
            this.r29 = new RegisterOperand(arch.Registers[29]);
            this.r30 = new RegisterOperand(arch.Registers[30]);
            this.r31 = new RegisterOperand(arch.Registers[31]);

            this.addr = start;
        }
 public void Setup()
 {
     arch = new PowerPcArchitecture32();
     platform = new SysVPlatform(null, arch);
 }
예제 #7
0
 public PowerPcState(PowerPcArchitecture arch)
 {
     this.arch = arch;
     this.regs = new ulong[0x80];
     this.valid = new bool[0x80];
 }