public override PowerPcInstruction Decode(PowerPcDisassembler dasm, uint wInstr)
            {
                Opcode opcode = ((wInstr & 1) == 0) ? opcode0 : opcode1;

                wInstr &= ~3u;
                return(dasm.DecodeOperands(opcode, wInstr, opFmt));
            }
Example #2
0
            public override PowerPcInstruction Decode(PowerPcDisassembler dasm, uint wInstr)
            {
                bool link   = (wInstr & 1) != 0;
                var  opcode = link ? this.opLink : this.opcode;
                var  iclass = link ? InstrClass.Transfer | InstrClass.Call : InstrClass.Transfer;

                return(dasm.DecodeOperands(opcode, iclass, wInstr, opFmt));
            }
 public override PowerPcInstruction Decode(PowerPcDisassembler dasm, uint wInstr)
 {
     return(dasm.DecodeOperands(opcode, wInstr, opFmt));
 }