• Home
  • Raw
  • Download

Lines Matching refs:mod

335   static void get_modrm(byte data, int* mod, int* regop, int* rm) {  in get_modrm()  argument
336 *mod = (data >> 6) & 3; in get_modrm()
391 int mod, regop, rm; in PrintRightOperandHelper() local
392 get_modrm(*modrmp, &mod, &regop, &rm); in PrintRightOperandHelper()
393 RegisterNameMapping register_name = (mod == 3) ? direct_register_name : in PrintRightOperandHelper()
395 switch (mod) { in PrintRightOperandHelper()
438 mod == 2 ? *reinterpret_cast<int32_t*>(modrmp + 2) : *(modrmp + 2); in PrintRightOperandHelper()
448 return mod == 2 ? 6 : 3; in PrintRightOperandHelper()
452 mod == 2 ? *reinterpret_cast<int32_t*>(modrmp + 1) : *(modrmp + 1); in PrintRightOperandHelper()
454 return mod == 2 ? 5 : 2; in PrintRightOperandHelper()
491 int mod, regop, rm; in PrintOperands() local
492 get_modrm(modrm, &mod, &regop, &rm); in PrintOperands()
519 int mod, regop, rm; in PrintImmediateOp() local
520 get_modrm(modrm, &mod, &regop, &rm); in PrintImmediateOp()
548 int mod, regop, rm; in F7Instruction() local
549 get_modrm(modrm, &mod, &regop, &rm); in F7Instruction()
550 if (mod == 3 && regop != 0) { in F7Instruction()
561 } else if (mod == 3 && regop == eax) { in F7Instruction()
581 int mod, regop, rm; in D1D3C1Instruction() local
582 get_modrm(modrm, &mod, &regop, &rm); in D1D3C1Instruction()
585 if (mod == 3) { in D1D3C1Instruction()
961 { int mod, regop, rm; in InstructionDecode() local
962 get_modrm(*(data+1), &mod, &regop, &rm); in InstructionDecode()
975 int mod, regop, rm; in InstructionDecode() local
976 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
998 int mod, regop, rm; in InstructionDecode() local
999 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1027 int mod, regop, rm; in InstructionDecode() local
1028 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1035 int mod, regop, rm; in InstructionDecode() local
1036 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1056 int mod, regop, rm; in InstructionDecode() local
1057 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1073 int mod, regop, rm; in InstructionDecode() local
1074 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1084 int mod, regop, rm; in InstructionDecode() local
1085 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1122 int mod, regop, rm; in InstructionDecode() local
1123 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1141 int mod, regop, rm; in InstructionDecode() local
1143 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1167 int mod, regop, rm; in InstructionDecode() local
1168 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1178 int mod, regop, rm; in InstructionDecode() local
1179 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1187 int mod, regop, rm; in InstructionDecode() local
1188 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1198 int mod, regop, rm; in InstructionDecode() local
1199 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1208 int mod, regop, rm; in InstructionDecode() local
1209 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1218 int mod, regop, rm; in InstructionDecode() local
1219 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1228 int mod, regop, rm; in InstructionDecode() local
1229 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1242 int mod, regop, rm; in InstructionDecode() local
1243 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1244 if (mod == 0x3) { in InstructionDecode()
1255 int mod, regop, rm; in InstructionDecode() local
1256 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1263 int mod, regop, rm; in InstructionDecode() local
1264 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1271 int mod, regop, rm; in InstructionDecode() local
1272 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1279 int mod, regop, rm; in InstructionDecode() local
1280 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1285 int mod, regop, rm; in InstructionDecode() local
1286 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1291 int mod, regop, rm; in InstructionDecode() local
1292 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1304 int mod, regop, rm; in InstructionDecode() local
1305 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1312 int mod, regop, rm; in InstructionDecode() local
1313 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1323 int mod, regop, rm; in InstructionDecode() local
1324 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1332 int mod, regop, rm; in InstructionDecode() local
1333 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1338 int mod, regop, rm; in InstructionDecode() local
1339 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1345 int mod, regop, rm; in InstructionDecode() local
1346 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1353 int mod, regop, rm; in InstructionDecode() local
1354 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1355 if (mod == 3) { in InstructionDecode()
1364 int mod, regop, rm; in InstructionDecode() local
1365 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1372 int mod, regop, rm; in InstructionDecode() local
1373 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1388 int mod, regop, rm; in InstructionDecode() local
1389 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1445 int mod, regop, rm; in InstructionDecode() local
1446 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1451 int mod, regop, rm; in InstructionDecode() local
1452 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1457 int mod, regop, rm; in InstructionDecode() local
1458 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1473 int mod, regop, rm; in InstructionDecode() local
1474 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1514 int mod, regop, rm; in InstructionDecode() local
1515 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1520 int mod, regop, rm; in InstructionDecode() local
1521 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1526 int mod, regop, rm; in InstructionDecode() local
1527 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1532 int mod, regop, rm; in InstructionDecode() local
1533 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1538 int mod, regop, rm; in InstructionDecode() local
1539 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1545 int mod, regop, rm; in InstructionDecode() local
1546 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()