• Home
  • Raw
  • Download

Lines Matching refs:mnem

52   const char* mnem;  member
172 const char* mnem; member
195 const char* mnem);
208 instructions_[i].mnem = ""; in Clear()
235 id->mnem = bm[i].mnem; in CopyTable()
246 const char* mnem) { in SetTableRange() argument
250 id->mnem = mnem; in SetTableRange()
260 id->mnem = jump_conditional_mnem[b & 0x0F]; in AddJumpConditionalShort()
354 int PrintOperands(const char* mnem, OperandOrder op_order, byte* data);
487 int DisassemblerIA32::PrintOperands(const char* mnem, in PrintOperands() argument
496 AppendToBuffer("%s %s,", mnem, NameOfCPURegister(regop)); in PrintOperands()
501 AppendToBuffer("%s ", mnem); in PrintOperands()
521 const char* mnem = "Imm???"; in PrintImmediateOp() local
523 case 0: mnem = "add"; break; in PrintImmediateOp()
524 case 1: mnem = "or"; break; in PrintImmediateOp()
525 case 2: mnem = "adc"; break; in PrintImmediateOp()
526 case 4: mnem = "and"; break; in PrintImmediateOp()
527 case 5: mnem = "sub"; break; in PrintImmediateOp()
528 case 6: mnem = "xor"; break; in PrintImmediateOp()
529 case 7: mnem = "cmp"; break; in PrintImmediateOp()
532 AppendToBuffer("%s ", mnem); in PrintImmediateOp()
551 const char* mnem = NULL; in F7Instruction() local
553 case 2: mnem = "not"; break; in F7Instruction()
554 case 3: mnem = "neg"; break; in F7Instruction()
555 case 4: mnem = "mul"; break; in F7Instruction()
556 case 7: mnem = "idiv"; break; in F7Instruction()
559 AppendToBuffer("%s %s", mnem, NameOfCPURegister(rm)); in F7Instruction()
586 const char* mnem = NULL; in D1D3C1Instruction() local
588 case kROL: mnem = "rol"; break; in D1D3C1Instruction()
589 case kROR: mnem = "ror"; break; in D1D3C1Instruction()
590 case kRCL: mnem = "rcl"; break; in D1D3C1Instruction()
591 case kRCR: mnem = "rcr"; break; in D1D3C1Instruction()
592 case kSHL: mnem = "shl"; break; in D1D3C1Instruction()
593 case KSHR: mnem = "shr"; break; in D1D3C1Instruction()
594 case kSAR: mnem = "sar"; break; in D1D3C1Instruction()
605 ASSERT_NE(NULL, mnem); in D1D3C1Instruction()
606 AppendToBuffer("%s %s,", mnem, NameOfCPURegister(rm)); in D1D3C1Instruction()
634 const char* mnem = jump_conditional_mnem[cond]; in JumpConditional() local
635 AppendToBuffer("%s %s", mnem, NameOfAddress(dest)); in JumpConditional()
648 const char* mnem = jump_conditional_mnem[cond]; in JumpConditionalShort() local
649 AppendToBuffer("%s %s", mnem, NameOfAddress(dest)); in JumpConditionalShort()
661 const char* mnem = set_conditional_mnem[cond]; in SetCC() local
662 AppendToBuffer("%s ", mnem); in SetCC()
672 const char* mnem = conditional_move_mnem[cond]; in CMov() local
673 int op_size = PrintOperands(mnem, REG_OPER_OP_ORDER, data + 2); in CMov()
694 const char* mnem = "?"; in MemoryFPUInstruction() local
698 case 0: mnem = "fld_s"; break; in MemoryFPUInstruction()
699 case 3: mnem = "fstp_s"; break; in MemoryFPUInstruction()
700 case 7: mnem = "fstcw"; break; in MemoryFPUInstruction()
706 case 0: mnem = "fild_s"; break; in MemoryFPUInstruction()
707 case 1: mnem = "fisttp_s"; break; in MemoryFPUInstruction()
708 case 2: mnem = "fist_s"; break; in MemoryFPUInstruction()
709 case 3: mnem = "fistp_s"; break; in MemoryFPUInstruction()
715 case 0: mnem = "fld_d"; break; in MemoryFPUInstruction()
716 case 1: mnem = "fisttp_d"; break; in MemoryFPUInstruction()
717 case 2: mnem = "fst_d"; break; in MemoryFPUInstruction()
718 case 3: mnem = "fstp_d"; break; in MemoryFPUInstruction()
724 case 5: mnem = "fild_d"; break; in MemoryFPUInstruction()
725 case 7: mnem = "fistp_d"; break; in MemoryFPUInstruction()
732 AppendToBuffer("%s ", mnem); in MemoryFPUInstruction()
740 const char* mnem = "?"; in RegisterFPUInstruction() local
750 mnem = "fld"; in RegisterFPUInstruction()
754 mnem = "fxch"; in RegisterFPUInstruction()
759 case 0xE0: mnem = "fchs"; break; in RegisterFPUInstruction()
760 case 0xE1: mnem = "fabs"; break; in RegisterFPUInstruction()
761 case 0xE4: mnem = "ftst"; break; in RegisterFPUInstruction()
762 case 0xE8: mnem = "fld1"; break; in RegisterFPUInstruction()
763 case 0xEB: mnem = "fldpi"; break; in RegisterFPUInstruction()
764 case 0xED: mnem = "fldln2"; break; in RegisterFPUInstruction()
765 case 0xEE: mnem = "fldz"; break; in RegisterFPUInstruction()
766 case 0xF0: mnem = "f2xm1"; break; in RegisterFPUInstruction()
767 case 0xF1: mnem = "fyl2x"; break; in RegisterFPUInstruction()
768 case 0xF5: mnem = "fprem1"; break; in RegisterFPUInstruction()
769 case 0xF7: mnem = "fincstp"; break; in RegisterFPUInstruction()
770 case 0xF8: mnem = "fprem"; break; in RegisterFPUInstruction()
771 case 0xFC: mnem = "frndint"; break; in RegisterFPUInstruction()
772 case 0xFD: mnem = "fscale"; break; in RegisterFPUInstruction()
773 case 0xFE: mnem = "fsin"; break; in RegisterFPUInstruction()
774 case 0xFF: mnem = "fcos"; break; in RegisterFPUInstruction()
782 mnem = "fucompp"; in RegisterFPUInstruction()
790 mnem = "fucomi"; in RegisterFPUInstruction()
793 mnem = "fclex"; in RegisterFPUInstruction()
795 mnem = "fninit"; in RegisterFPUInstruction()
804 case 0xC0: mnem = "fadd"; break; in RegisterFPUInstruction()
805 case 0xE8: mnem = "fsub"; break; in RegisterFPUInstruction()
806 case 0xC8: mnem = "fmul"; break; in RegisterFPUInstruction()
807 case 0xF8: mnem = "fdiv"; break; in RegisterFPUInstruction()
815 case 0xC0: mnem = "ffree"; break; in RegisterFPUInstruction()
816 case 0xD8: mnem = "fstp"; break; in RegisterFPUInstruction()
823 mnem = "fcompp"; in RegisterFPUInstruction()
827 case 0xC0: mnem = "faddp"; break; in RegisterFPUInstruction()
828 case 0xE8: mnem = "fsubp"; break; in RegisterFPUInstruction()
829 case 0xC8: mnem = "fmulp"; break; in RegisterFPUInstruction()
830 case 0xF8: mnem = "fdivp"; break; in RegisterFPUInstruction()
838 mnem = "fnstsw_ax"; in RegisterFPUInstruction()
840 mnem = "fucomip"; in RegisterFPUInstruction()
849 AppendToBuffer("%s st%d", mnem, modrm_byte & 0x7); in RegisterFPUInstruction()
851 AppendToBuffer("%s", mnem); in RegisterFPUInstruction()
897 AppendToBuffer(idesc.mnem); in InstructionDecode()
903 data += PrintOperands(idesc.mnem, idesc.op_order_, data); in InstructionDecode()
911 AppendToBuffer("%s %s", idesc.mnem, NameOfCPURegister(*data & 0x07)); in InstructionDecode()
926 AppendToBuffer("%s %s", idesc.mnem, NameOfAddress(addr)); in InstructionDecode()
933 AppendToBuffer("%s eax, %s", idesc.mnem, NameOfAddress(addr)); in InstructionDecode()
939 AppendToBuffer("%s al, 0x%x", idesc.mnem, data[1]); in InstructionDecode()
1086 const char* mnem = NULL; in InstructionDecode() local
1088 case esi: mnem = "push"; break; in InstructionDecode()
1089 case eax: mnem = "inc"; break; in InstructionDecode()
1090 case ecx: mnem = "dec"; break; in InstructionDecode()
1091 case edx: mnem = "call"; break; in InstructionDecode()
1092 case esp: mnem = "jmp"; break; in InstructionDecode()
1093 default: mnem = "???"; in InstructionDecode()
1095 AppendToBuffer("%s ", mnem); in InstructionDecode()
1124 const char* mnem = NULL; in InstructionDecode() local
1126 case 5: mnem = "subb"; break; in InstructionDecode()
1127 case 7: mnem = "cmpb"; break; in InstructionDecode()
1130 AppendToBuffer("%s ", mnem); in InstructionDecode()
1240 const char* mnem = (*data == 0x2E) ? "ucomisd" : "comisd"; in InstructionDecode() local
1245 AppendToBuffer("%s %s,%s", mnem, in InstructionDecode()
1250 AppendToBuffer("%s %s,", mnem, NameOfXMMRegister(regop)); in InstructionDecode()
1462 const char* mnem = "?"; in InstructionDecode() local
1464 case 0x2A: mnem = "cvtsi2sd"; break; in InstructionDecode()
1465 case 0x2C: mnem = "cvttsd2si"; break; in InstructionDecode()
1466 case 0x51: mnem = "sqrtsd"; break; in InstructionDecode()
1467 case 0x58: mnem = "addsd"; break; in InstructionDecode()
1468 case 0x59: mnem = "mulsd"; break; in InstructionDecode()
1469 case 0x5C: mnem = "subsd"; break; in InstructionDecode()
1470 case 0x5E: mnem = "divsd"; break; in InstructionDecode()
1476 AppendToBuffer("%s %s,", mnem, NameOfXMMRegister(regop)); in InstructionDecode()
1479 AppendToBuffer("%s %s,", mnem, NameOfCPURegister(regop)); in InstructionDecode()
1499 AppendToBuffer("%s %s,", mnem, NameOfXMMRegister(regop)); in InstructionDecode()