public override MipsInstruction Decode(uint wInstr, Mips16eDisassembler dasm) { if (!dasm.rdr.TryReadUInt16(out ushort uLow16bits)) return dasm.CreateInvalidInstruction(); dasm.extend = wInstr; return rootDecoder.Decode(uLow16bits, dasm); }
public override MipsInstruction Decode(uint wInstr, Mips16eDisassembler dasm) { if (!dasm.rdr.TryReadUInt16(out ushort uLow16bits)) return dasm.CreateInvalidInstruction(); var uInstr32 = (wInstr << 16) | uLow16bits; return decoder.Decode(uInstr32, dasm); }