Lines Matching refs:modrm
208 const ModRM& modrm = *(ModRM*)*pbuf;
219 reg = getRegName(okind, opndDesc2.size, EXTEND_REG(modrm.reg, r));
224 reg = getRegName(okind, opndDesc.size, EXTEND_REG(modrm.reg, r));
305 const ModRM& modrm = *(ModRM*)*pbuf;
306 if (modrm.reg != byte) {
463 const ModRM& modrm = *(ModRM*)*pbuf;
474 if (modrm.mod == 3) {
475 // we have only modrm. no sib, no disp.
478 RegName reg = getRegName(okind, opndDesc.size, EXTEND_REG(modrm.rm, b));
486 if (modrm.rm == 4) {
498 if (sib.base != 5 || modrm.mod != 0) {
501 // (sib.base == 5 && modrm.mod == 0) => no base
505 if (modrm.mod != 0 || modrm.rm != 5) {
506 base = getRegName(OpndKind_GPReg, OpndSize_32, EXTEND_REG(modrm.rm, b)); //Android x86: OpndDesc.size
514 if (modrm.mod == 2) {
519 else if (modrm.mod == 1) {
525 assert(modrm.mod == 0);
526 if (modrm.rm == 5) {
531 else if (modrm.rm == 4 && sib.base == 5) {