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