Lines Matching refs:rm
312 static void get_modrm(byte data, int* mod, int* regop, int* rm) { in get_modrm() argument
315 *rm = data & 7; in get_modrm()
368 int mod, regop, rm; in PrintRightOperandHelper() local
369 get_modrm(*modrmp, &mod, ®op, &rm); in PrintRightOperandHelper()
374 if (rm == ebp) { in PrintRightOperandHelper()
378 } else if (rm == esp) { in PrintRightOperandHelper()
383 AppendToBuffer("[%s]", (this->*register_name)(rm)); in PrintRightOperandHelper()
405 AppendToBuffer("[%s]", (this->*register_name)(rm)); in PrintRightOperandHelper()
411 if (rm == esp) { in PrintRightOperandHelper()
417 if (index == base && index == rm /*esp*/ && scale == 0 /*times_1*/) { in PrintRightOperandHelper()
419 (this->*register_name)(rm), in PrintRightOperandHelper()
436 (this->*register_name)(rm), in PrintRightOperandHelper()
443 AppendToBuffer("%s", (this->*register_name)(rm)); in PrintRightOperandHelper()
476 int mod, regop, rm; in PrintOperands() local
477 get_modrm(modrm, &mod, ®op, &rm); in PrintOperands()
504 int mod, regop, rm; in PrintImmediateOp() local
505 get_modrm(modrm, &mod, ®op, &rm); in PrintImmediateOp()
533 int mod, regop, rm; in F7Instruction() local
534 get_modrm(modrm, &mod, ®op, &rm); in F7Instruction()
575 int mod, regop, rm; in D1D3C1Instruction() local
576 get_modrm(modrm, &mod, ®op, &rm); in D1D3C1Instruction()
991 int mod, regop, rm; in InstructionDecode() local
992 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
1015 int mod, regop, rm; in InstructionDecode() local
1016 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
1044 int mod, regop, rm; in InstructionDecode() local
1045 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
1048 NameOfXMMRegister(rm)); in InstructionDecode()
1068 int mod, regop, rm; in InstructionDecode() local
1069 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
1076 int mod, regop, rm; in InstructionDecode() local
1077 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
1080 NameOfXMMRegister(rm)); in InstructionDecode()
1085 int mod, regop, rm; in InstructionDecode() local
1086 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
1089 NameOfXMMRegister(rm), in InstructionDecode()
1107 int mod, regop, rm; in InstructionDecode() local
1108 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
1117 int mod, regop, rm; in InstructionDecode() local
1118 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
1129 int mod, regop, rm; in InstructionDecode() local
1130 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
1140 int mod, regop, rm; in InstructionDecode() local
1141 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
1178 int mod, regop, rm; in InstructionDecode() local
1179 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
1197 int mod, regop, rm; in InstructionDecode() local
1199 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
1223 int mod, regop, rm; in InstructionDecode() local
1224 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
1241 int mod, regop, rm; in InstructionDecode() local
1242 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
1245 NameOfXMMRegister(rm)); in InstructionDecode()
1250 int mod, regop, rm; in InstructionDecode() local
1251 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
1261 int mod, regop, rm; in InstructionDecode() local
1262 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
1266 NameOfXMMRegister(rm), in InstructionDecode()
1271 int mod, regop, rm; in InstructionDecode() local
1272 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
1276 NameOfXMMRegister(rm), in InstructionDecode()
1281 int mod, regop, rm; in InstructionDecode() local
1282 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
1285 NameOfCPURegister(rm), in InstructionDecode()
1291 int mod, regop, rm; in InstructionDecode() local
1292 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
1296 NameOfCPURegister(rm), in InstructionDecode()
1305 int mod, regop, rm; in InstructionDecode() local
1306 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
1310 NameOfXMMRegister(rm)); in InstructionDecode()
1318 int mod, regop, rm; in InstructionDecode() local
1319 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
1322 NameOfXMMRegister(rm)); in InstructionDecode()
1326 int mod, regop, rm; in InstructionDecode() local
1327 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
1330 NameOfXMMRegister(rm)); in InstructionDecode()
1334 int mod, regop, rm; in InstructionDecode() local
1335 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
1338 NameOfXMMRegister(rm)); in InstructionDecode()
1342 int mod, regop, rm; in InstructionDecode() local
1343 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
1346 NameOfXMMRegister(rm)); in InstructionDecode()
1350 int mod, regop, rm; in InstructionDecode() local
1351 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
1356 int mod, regop, rm; in InstructionDecode() local
1357 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
1362 int mod, regop, rm; in InstructionDecode() local
1363 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
1367 NameOfXMMRegister(rm), in InstructionDecode()
1372 int mod, regop, rm; in InstructionDecode() local
1373 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
1376 NameOfXMMRegister(rm)); in InstructionDecode()
1383 int mod, regop, rm; in InstructionDecode() local
1384 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
1387 NameOfXMMRegister(rm)); in InstructionDecode()
1391 int mod, regop, rm; in InstructionDecode() local
1392 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
1397 NameOfXMMRegister(rm), in InstructionDecode()
1402 int mod, regop, rm; in InstructionDecode() local
1403 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
1406 NameOfXMMRegister(rm)); in InstructionDecode()
1411 int mod, regop, rm; in InstructionDecode() local
1412 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
1417 int mod, regop, rm; in InstructionDecode() local
1418 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
1424 int mod, regop, rm; in InstructionDecode() local
1425 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
1428 NameOfXMMRegister(rm)); in InstructionDecode()
1432 int mod, regop, rm; in InstructionDecode() local
1433 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
1443 int mod, regop, rm; in InstructionDecode() local
1444 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
1447 NameOfXMMRegister(rm)); in InstructionDecode()
1451 int mod, regop, rm; in InstructionDecode() local
1452 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
1455 NameOfXMMRegister(rm)); in InstructionDecode()
1467 int mod, regop, rm; in InstructionDecode() local
1468 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
1525 int mod, regop, rm; in InstructionDecode() local
1526 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
1531 int mod, regop, rm; in InstructionDecode() local
1532 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
1537 int mod, regop, rm; in InstructionDecode() local
1538 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
1554 int mod, regop, rm; in InstructionDecode() local
1555 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
1577 NameOfXMMRegister(rm)); in InstructionDecode()
1595 int mod, regop, rm; in InstructionDecode() local
1596 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
1601 int mod, regop, rm; in InstructionDecode() local
1602 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
1607 int mod, regop, rm; in InstructionDecode() local
1608 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
1613 int mod, regop, rm; in InstructionDecode() local
1614 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
1619 int mod, regop, rm; in InstructionDecode() local
1620 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
1626 int mod, regop, rm; in InstructionDecode() local
1627 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()