public override AvrInstruction Decode(Avr8Disassembler dasm, ushort wInstr) { int slot = (wInstr >> shift) & mask; OpRec oprec; if (!oprecs.TryGetValue(slot, out oprec)) { return(dasm.Decode(wInstr, Opcode.invalid, InstrClass.Invalid, "")); } return(oprec.Decode(dasm, wInstr)); }
public override AvrInstruction Decode(Avr8Disassembler dasm, ushort wInstr) { int br = (((wInstr >> 7) & 8) | (wInstr & 7)) & 0xF; return(dasm.Decode(wInstr, branches[br], InstrClass.ConditionalTransfer, "o")); }
public override AvrInstruction Decode(Avr8Disassembler dasm, ushort wInstr) { return(dasm.Decode(wInstr, opcode, iclass, fmt)); }