Lines Matching refs:mnem
29 const char* mnem; member
134 const char* mnem; member
157 const char* mnem);
170 instructions_[i].mnem = ""; in Clear()
197 id->mnem = bm[i].mnem; in CopyTable()
208 const char* mnem) { in SetTableRange() argument
212 id->mnem = mnem; in SetTableRange()
222 id->mnem = jump_conditional_mnem[b & 0x0F]; in AddJumpConditionalShort()
380 int PrintOperands(const char* mnem, OperandOrder op_order, byte* data);
522 int DisassemblerIA32::PrintOperands(const char* mnem, in PrintOperands() argument
531 AppendToBuffer("%s %s,", mnem, NameOfCPURegister(regop)); in PrintOperands()
536 AppendToBuffer("%s ", mnem); in PrintOperands()
556 const char* mnem = "Imm???"; in PrintImmediateOp() local
558 case 0: mnem = "add"; break; in PrintImmediateOp()
559 case 1: mnem = "or"; break; in PrintImmediateOp()
560 case 2: mnem = "adc"; break; in PrintImmediateOp()
561 case 4: mnem = "and"; break; in PrintImmediateOp()
562 case 5: mnem = "sub"; break; in PrintImmediateOp()
563 case 6: mnem = "xor"; break; in PrintImmediateOp()
564 case 7: mnem = "cmp"; break; in PrintImmediateOp()
567 AppendToBuffer("%s ", mnem); in PrintImmediateOp()
585 const char* mnem = nullptr; in F7Instruction() local
588 mnem = "test"; in F7Instruction()
591 mnem = "not"; in F7Instruction()
594 mnem = "neg"; in F7Instruction()
597 mnem = "mul"; in F7Instruction()
600 mnem = "imul"; in F7Instruction()
603 mnem = "div"; in F7Instruction()
606 mnem = "idiv"; in F7Instruction()
611 AppendToBuffer("%s ", mnem); in F7Instruction()
628 const char* mnem = nullptr; in D1D3C1Instruction() local
631 mnem = "rol"; in D1D3C1Instruction()
634 mnem = "ror"; in D1D3C1Instruction()
637 mnem = "rcl"; in D1D3C1Instruction()
640 mnem = "rcr"; in D1D3C1Instruction()
643 mnem = "shl"; in D1D3C1Instruction()
646 mnem = "shr"; in D1D3C1Instruction()
649 mnem = "sar"; in D1D3C1Instruction()
654 AppendToBuffer("%s ", mnem); in D1D3C1Instruction()
688 const char* mnem = jump_conditional_mnem[cond]; in JumpConditional() local
689 AppendToBuffer("%s %s", mnem, NameOfAddress(dest)); in JumpConditional()
702 const char* mnem = jump_conditional_mnem[cond]; in JumpConditionalShort() local
703 AppendToBuffer("%s %s", mnem, NameOfAddress(dest)); in JumpConditionalShort()
715 const char* mnem = set_conditional_mnem[cond]; in SetCC() local
716 AppendToBuffer("%s ", mnem); in SetCC()
726 const char* mnem = conditional_move_mnem[cond]; in CMov() local
727 int op_size = PrintOperands(mnem, REG_OPER_OP_ORDER, data + 2); in CMov()
1010 const char* mnem = "?"; in AVXInstruction() local
1030 mnem = "blsr"; in AVXInstruction()
1033 mnem = "blsmsk"; in AVXInstruction()
1036 mnem = "blsi"; in AVXInstruction()
1041 AppendToBuffer("%s %s,", mnem, NameOfCPURegister(vvvv)); in AVXInstruction()
1043 mnem = "?"; in AVXInstruction()
1295 const char* mnem = "?"; in MemoryFPUInstruction() local
1299 case 0: mnem = "fld_s"; break; in MemoryFPUInstruction()
1300 case 2: mnem = "fst_s"; break; in MemoryFPUInstruction()
1301 case 3: mnem = "fstp_s"; break; in MemoryFPUInstruction()
1302 case 7: mnem = "fstcw"; break; in MemoryFPUInstruction()
1308 case 0: mnem = "fild_s"; break; in MemoryFPUInstruction()
1309 case 1: mnem = "fisttp_s"; break; in MemoryFPUInstruction()
1310 case 2: mnem = "fist_s"; break; in MemoryFPUInstruction()
1311 case 3: mnem = "fistp_s"; break; in MemoryFPUInstruction()
1317 case 0: mnem = "fld_d"; break; in MemoryFPUInstruction()
1318 case 1: mnem = "fisttp_d"; break; in MemoryFPUInstruction()
1319 case 2: mnem = "fst_d"; break; in MemoryFPUInstruction()
1320 case 3: mnem = "fstp_d"; break; in MemoryFPUInstruction()
1326 case 5: mnem = "fild_d"; break; in MemoryFPUInstruction()
1327 case 7: mnem = "fistp_d"; break; in MemoryFPUInstruction()
1334 AppendToBuffer("%s ", mnem); in MemoryFPUInstruction()
1342 const char* mnem = "?"; in RegisterFPUInstruction() local
1348 case 0xC0: mnem = "fadd_i"; break; in RegisterFPUInstruction()
1349 case 0xE0: mnem = "fsub_i"; break; in RegisterFPUInstruction()
1350 case 0xC8: mnem = "fmul_i"; break; in RegisterFPUInstruction()
1351 case 0xF0: mnem = "fdiv_i"; break; in RegisterFPUInstruction()
1359 mnem = "fld"; in RegisterFPUInstruction()
1363 mnem = "fxch"; in RegisterFPUInstruction()
1368 case 0xE0: mnem = "fchs"; break; in RegisterFPUInstruction()
1369 case 0xE1: mnem = "fabs"; break; in RegisterFPUInstruction()
1370 case 0xE4: mnem = "ftst"; break; in RegisterFPUInstruction()
1371 case 0xE8: mnem = "fld1"; break; in RegisterFPUInstruction()
1372 case 0xEB: mnem = "fldpi"; break; in RegisterFPUInstruction()
1373 case 0xED: mnem = "fldln2"; break; in RegisterFPUInstruction()
1374 case 0xEE: mnem = "fldz"; break; in RegisterFPUInstruction()
1375 case 0xF0: mnem = "f2xm1"; break; in RegisterFPUInstruction()
1376 case 0xF1: mnem = "fyl2x"; break; in RegisterFPUInstruction()
1377 case 0xF4: mnem = "fxtract"; break; in RegisterFPUInstruction()
1378 case 0xF5: mnem = "fprem1"; break; in RegisterFPUInstruction()
1379 case 0xF7: mnem = "fincstp"; break; in RegisterFPUInstruction()
1380 case 0xF8: mnem = "fprem"; break; in RegisterFPUInstruction()
1381 case 0xFC: mnem = "frndint"; break; in RegisterFPUInstruction()
1382 case 0xFD: mnem = "fscale"; break; in RegisterFPUInstruction()
1383 case 0xFE: mnem = "fsin"; break; in RegisterFPUInstruction()
1384 case 0xFF: mnem = "fcos"; break; in RegisterFPUInstruction()
1392 mnem = "fucompp"; in RegisterFPUInstruction()
1400 mnem = "fucomi"; in RegisterFPUInstruction()
1403 mnem = "fclex"; in RegisterFPUInstruction()
1405 mnem = "fninit"; in RegisterFPUInstruction()
1414 case 0xC0: mnem = "fadd"; break; in RegisterFPUInstruction()
1415 case 0xE8: mnem = "fsub"; break; in RegisterFPUInstruction()
1416 case 0xC8: mnem = "fmul"; break; in RegisterFPUInstruction()
1417 case 0xF8: mnem = "fdiv"; break; in RegisterFPUInstruction()
1425 case 0xC0: mnem = "ffree"; break; in RegisterFPUInstruction()
1426 case 0xD0: mnem = "fst"; break; in RegisterFPUInstruction()
1427 case 0xD8: mnem = "fstp"; break; in RegisterFPUInstruction()
1434 mnem = "fcompp"; in RegisterFPUInstruction()
1438 case 0xC0: mnem = "faddp"; break; in RegisterFPUInstruction()
1439 case 0xE8: mnem = "fsubp"; break; in RegisterFPUInstruction()
1440 case 0xC8: mnem = "fmulp"; break; in RegisterFPUInstruction()
1441 case 0xF8: mnem = "fdivp"; break; in RegisterFPUInstruction()
1449 mnem = "fnstsw_ax"; in RegisterFPUInstruction()
1451 mnem = "fucomip"; in RegisterFPUInstruction()
1460 AppendToBuffer("%s st%d", mnem, modrm_byte & 0x7); in RegisterFPUInstruction()
1462 AppendToBuffer("%s", mnem); in RegisterFPUInstruction()
1550 AppendToBuffer("%s", idesc.mnem); in InstructionDecode()
1556 data += PrintOperands(idesc.mnem, idesc.op_order_, data); in InstructionDecode()
1564 AppendToBuffer("%s %s", idesc.mnem, NameOfCPURegister(*data & 0x07)); in InstructionDecode()
1579 AppendToBuffer("%s %s", idesc.mnem, NameOfAddress(addr)); in InstructionDecode()
1587 AppendToBuffer("%s eax,%s", idesc.mnem, NameOfAddress(addr)); in InstructionDecode()
1593 AppendToBuffer("%s al,0x%x", idesc.mnem, data[1]); in InstructionDecode()
1844 const char* mnem = nullptr; in InstructionDecode() local
1846 case esi: mnem = "push"; break; in InstructionDecode()
1847 case eax: mnem = "inc"; break; in InstructionDecode()
1848 case ecx: mnem = "dec"; break; in InstructionDecode()
1849 case edx: mnem = "call"; break; in InstructionDecode()
1850 case esp: mnem = "jmp"; break; in InstructionDecode()
1851 default: mnem = "???"; in InstructionDecode()
1853 AppendToBuffer("%s ", mnem); in InstructionDecode()
1882 const char* mnem = nullptr; in InstructionDecode() local
1884 case 5: mnem = "subb"; break; in InstructionDecode()
1885 case 7: mnem = "cmpb"; break; in InstructionDecode()
1888 AppendToBuffer("%s ", mnem); in InstructionDecode()
2087 const char* mnem = (*data == 0x2E) ? "ucomisd" : "comisd"; in InstructionDecode() local
2092 AppendToBuffer("%s %s,%s", mnem, in InstructionDecode()
2097 AppendToBuffer("%s %s,", mnem, NameOfXMMRegister(regop)); in InstructionDecode()
2340 const char* mnem = "?"; in InstructionDecode() local
2343 mnem = "cvtsi2sd"; in InstructionDecode()
2346 mnem = "cvttsd2si"; in InstructionDecode()
2349 mnem = "cvtsd2si"; in InstructionDecode()
2352 mnem = "sqrtsd"; in InstructionDecode()
2355 mnem = "addsd"; in InstructionDecode()
2358 mnem = "mulsd"; in InstructionDecode()
2361 mnem = "subsd"; in InstructionDecode()
2364 mnem = "minsd"; in InstructionDecode()
2367 mnem = "divsd"; in InstructionDecode()
2370 mnem = "maxsd"; in InstructionDecode()
2373 mnem = "haddps"; in InstructionDecode()
2380 AppendToBuffer("%s %s,", mnem, NameOfXMMRegister(regop)); in InstructionDecode()
2383 AppendToBuffer("%s %s,", mnem, NameOfCPURegister(regop)); in InstructionDecode()
2403 AppendToBuffer("%s %s,", mnem, NameOfXMMRegister(regop)); in InstructionDecode()
2474 const char* mnem = "?"; in InstructionDecode() local
2477 mnem = "cvtsi2ss"; in InstructionDecode()
2480 mnem = "cvttss2si"; in InstructionDecode()
2483 mnem = "cvtss2si"; in InstructionDecode()
2486 mnem = "sqrtss"; in InstructionDecode()
2489 mnem = "addss"; in InstructionDecode()
2492 mnem = "mulss"; in InstructionDecode()
2495 mnem = "cvttps2dq"; in InstructionDecode()
2498 mnem = "subss"; in InstructionDecode()
2501 mnem = "minss"; in InstructionDecode()
2504 mnem = "divss"; in InstructionDecode()
2507 mnem = "maxss"; in InstructionDecode()
2510 mnem = "movq"; in InstructionDecode()
2517 AppendToBuffer("%s %s,", mnem, NameOfXMMRegister(regop)); in InstructionDecode()
2520 AppendToBuffer("%s %s,", mnem, NameOfCPURegister(regop)); in InstructionDecode()
2531 AppendToBuffer("%s %s,", mnem, NameOfXMMRegister(regop)); in InstructionDecode()