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()
1012 int mod, regop, rm; in InstructionDecode() local
1013 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
1036 int mod, regop, rm; in InstructionDecode() local
1037 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
1065 int mod, regop, rm; in InstructionDecode() local
1066 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
1069 NameOfXMMRegister(rm)); in InstructionDecode()
1089 int mod, regop, rm; in InstructionDecode() local
1090 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
1097 int mod, regop, rm; in InstructionDecode() local
1098 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
1101 NameOfXMMRegister(rm)); in InstructionDecode()
1106 int mod, regop, rm; in InstructionDecode() local
1107 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
1110 NameOfXMMRegister(rm), in InstructionDecode()
1128 int mod, regop, rm; in InstructionDecode() local
1129 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
1138 int mod, regop, rm; in InstructionDecode() local
1139 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
1150 int mod, regop, rm; in InstructionDecode() local
1151 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
1161 int mod, regop, rm; in InstructionDecode() local
1162 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
1199 int mod, regop, rm; in InstructionDecode() local
1200 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
1218 int mod, regop, rm; in InstructionDecode() local
1220 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
1244 int mod, regop, rm; in InstructionDecode() local
1245 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
1262 int mod, regop, rm; in InstructionDecode() local
1263 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()
1282 int mod, regop, rm; in InstructionDecode() local
1283 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
1287 NameOfXMMRegister(rm), in InstructionDecode()
1292 int mod, regop, rm; in InstructionDecode() local
1293 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
1297 NameOfXMMRegister(rm), in InstructionDecode()
1302 int mod, regop, rm; in InstructionDecode() local
1303 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
1306 NameOfCPURegister(rm), in InstructionDecode()
1312 int mod, regop, rm; in InstructionDecode() local
1313 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
1317 NameOfCPURegister(rm), in InstructionDecode()
1326 int mod, regop, rm; in InstructionDecode() local
1327 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
1331 NameOfXMMRegister(rm)); in InstructionDecode()
1339 int mod, regop, rm; in InstructionDecode() local
1340 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
1343 NameOfXMMRegister(rm)); in InstructionDecode()
1347 int mod, regop, rm; in InstructionDecode() local
1348 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
1351 NameOfXMMRegister(rm)); in InstructionDecode()
1355 int mod, regop, rm; in InstructionDecode() local
1356 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
1359 NameOfXMMRegister(rm)); in InstructionDecode()
1363 int mod, regop, rm; in InstructionDecode() local
1364 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
1367 NameOfXMMRegister(rm)); in InstructionDecode()
1371 int mod, regop, rm; in InstructionDecode() local
1372 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
1377 int mod, regop, rm; in InstructionDecode() local
1378 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
1383 int mod, regop, rm; in InstructionDecode() local
1384 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
1388 NameOfXMMRegister(rm), in InstructionDecode()
1393 int mod, regop, rm; in InstructionDecode() local
1394 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
1397 NameOfXMMRegister(rm)); in InstructionDecode()
1404 int mod, regop, rm; in InstructionDecode() local
1405 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
1408 NameOfXMMRegister(rm)); in InstructionDecode()
1412 int mod, regop, rm; in InstructionDecode() local
1413 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
1418 NameOfXMMRegister(rm), in InstructionDecode()
1423 int mod, regop, rm; in InstructionDecode() local
1424 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
1427 NameOfXMMRegister(rm)); in InstructionDecode()
1432 int mod, regop, rm; in InstructionDecode() local
1433 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
1438 int mod, regop, rm; in InstructionDecode() local
1439 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
1445 int mod, regop, rm; in InstructionDecode() local
1446 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
1449 NameOfXMMRegister(rm)); in InstructionDecode()
1453 int mod, regop, rm; in InstructionDecode() local
1454 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
1464 int mod, regop, rm; in InstructionDecode() local
1465 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
1468 NameOfXMMRegister(rm)); in InstructionDecode()
1472 int mod, regop, rm; in InstructionDecode() local
1473 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
1476 NameOfXMMRegister(rm)); in InstructionDecode()
1488 int mod, regop, rm; in InstructionDecode() local
1489 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
1546 int mod, regop, rm; in InstructionDecode() local
1547 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
1552 int mod, regop, rm; in InstructionDecode() local
1553 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
1558 int mod, regop, rm; in InstructionDecode() local
1559 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
1575 int mod, regop, rm; in InstructionDecode() local
1576 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
1598 NameOfXMMRegister(rm)); in InstructionDecode()
1616 int mod, regop, rm; in InstructionDecode() local
1617 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
1622 int mod, regop, rm; in InstructionDecode() local
1623 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
1628 int mod, regop, rm; in InstructionDecode() local
1629 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
1634 int mod, regop, rm; in InstructionDecode() local
1635 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
1640 int mod, regop, rm; in InstructionDecode() local
1641 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()
1647 int mod, regop, rm; in InstructionDecode() local
1648 get_modrm(*data, &mod, ®op, &rm); in InstructionDecode()