示例#1
0
 public override zSeriesInstruction Decode(ulong uInstr, zSeriesDisassembler dasm)
 {
     if (!dasm.rdr.TryReadBeUInt32(out uint uLowWord))
         return dasm.CreateInvalidInstruction();
     ulong uInstrExt = (uInstr << 32) | uLowWord;
     return base.Decode(uInstrExt, dasm);
 }
示例#2
0
            public override zSeriesInstruction Decode(ulong uInstr, zSeriesDisassembler dasm)
            {
                if (!dasm.rdr.TryReadBeUInt16(out ushort uLowWord))
                {
                    return(dasm.CreateInvalidInstruction());
                }
                ulong uInstrExt = (uInstr << 16) | uLowWord;

                return(base.Decode(uInstrExt, dasm));
            }
示例#3
0
 public override zSeriesInstruction Decode(ulong uInstr, zSeriesDisassembler dasm)
 {
     dasm.state.opcode = opcode;
     foreach (var m in mutators)
     {
         if (!m(uInstr, dasm))
         {
             return(dasm.CreateInvalidInstruction());
         }
     }
     return(dasm.state.MakeInstruction());
 }
示例#4
0
 public override zSeriesInstruction Decode(ulong uInstr, zSeriesDisassembler dasm)
 {
     dasm.Nyi(uInstr, msg);
     return(dasm.CreateInvalidInstruction());
 }