Searched refs:modRM (Results 1 – 3 of 3) sorted by relevance
45 virtual bool accepts(uint8_t modRM) const = 0;57 bool accepts(uint8_t modRM) const { in accepts() argument80 bool accepts(uint8_t modRM) const { in accepts() argument81 if (R == ((modRM & 0xc0) == 0xc0)) in accepts()110 bool accepts(uint8_t modRM) const { in accepts() argument111 if ((C0_FF && modRM >= 0xc0 && (modRM == NNN_or_ModRM)) || in accepts()112 (!C0_FF && modRM < 0xc0 && ((modRM & 0x38) >> 3) == NNN_or_ModRM)) in accepts()131 AddRegEscapeFilter(uint8_t modRM) : ModRM(modRM) { in AddRegEscapeFilter() argument134 bool accepts(uint8_t modRM) const { in accepts() argument135 if (modRM >= ModRM && modRM < ModRM + 8) in accepts()[all …]
37 #define modFromModRM(modRM) (((modRM) & 0xc0) >> 6) argument38 #define regFromModRM(modRM) (((modRM) & 0x38) >> 3) argument39 #define rmFromModRM(modRM) ((modRM) & 0x7) argument495 uint8_t modRM; member
105 uint8_t modRM) { in decode() argument139 if (modFromModRM(modRM) == 0x3) in decode()144 return dec->instructionIDs[modRM]; in decode()664 insn->modRM); in getIDWithAttrMask()965 switch (modFromModRM(insn->modRM)) { in readSIB()1052 if (consumeByte(insn, &insn->modRM)) in readModRM()1056 mod = modFromModRM(insn->modRM); in readModRM()1057 rm = rmFromModRM(insn->modRM); in readModRM()1058 reg = regFromModRM(insn->modRM); in readModRM()1324 insn->opcodeModifier = insn->modRM - insn->spec->modifierBase; in readOpcodeModifier()