• Home
  • Raw
  • Download

Lines Matching refs:mnem

28   const char* mnem;  member
136 const char* mnem; member
159 const char* mnem);
172 instructions_[i].mnem = ""; in Clear()
199 id->mnem = bm[i].mnem; in CopyTable()
210 const char* mnem) { in SetTableRange() argument
214 id->mnem = mnem; in SetTableRange()
224 id->mnem = jump_conditional_mnem[b & 0x0F]; in AddJumpConditionalShort()
318 int PrintOperands(const char* mnem, OperandOrder op_order, byte* data);
458 int DisassemblerX87::PrintOperands(const char* mnem, in PrintOperands() argument
467 AppendToBuffer("%s %s,", mnem, NameOfCPURegister(regop)); in PrintOperands()
472 AppendToBuffer("%s ", mnem); in PrintOperands()
492 const char* mnem = "Imm???"; in PrintImmediateOp() local
494 case 0: mnem = "add"; break; in PrintImmediateOp()
495 case 1: mnem = "or"; break; in PrintImmediateOp()
496 case 2: mnem = "adc"; break; in PrintImmediateOp()
497 case 4: mnem = "and"; break; in PrintImmediateOp()
498 case 5: mnem = "sub"; break; in PrintImmediateOp()
499 case 6: mnem = "xor"; break; in PrintImmediateOp()
500 case 7: mnem = "cmp"; break; in PrintImmediateOp()
503 AppendToBuffer("%s ", mnem); in PrintImmediateOp()
521 const char* mnem = NULL; in F7Instruction() local
524 mnem = "test"; in F7Instruction()
527 mnem = "not"; in F7Instruction()
530 mnem = "neg"; in F7Instruction()
533 mnem = "mul"; in F7Instruction()
536 mnem = "imul"; in F7Instruction()
539 mnem = "div"; in F7Instruction()
542 mnem = "idiv"; in F7Instruction()
547 AppendToBuffer("%s ", mnem); in F7Instruction()
564 const char* mnem = NULL; in D1D3C1Instruction() local
567 mnem = "rol"; in D1D3C1Instruction()
570 mnem = "ror"; in D1D3C1Instruction()
573 mnem = "rcl"; in D1D3C1Instruction()
576 mnem = "rcr"; in D1D3C1Instruction()
579 mnem = "shl"; in D1D3C1Instruction()
582 mnem = "shr"; in D1D3C1Instruction()
585 mnem = "sar"; in D1D3C1Instruction()
590 AppendToBuffer("%s ", mnem); in D1D3C1Instruction()
624 const char* mnem = jump_conditional_mnem[cond]; in JumpConditional() local
625 AppendToBuffer("%s %s", mnem, NameOfAddress(dest)); in JumpConditional()
638 const char* mnem = jump_conditional_mnem[cond]; in JumpConditionalShort() local
639 AppendToBuffer("%s %s", mnem, NameOfAddress(dest)); in JumpConditionalShort()
651 const char* mnem = set_conditional_mnem[cond]; in SetCC() local
652 AppendToBuffer("%s ", mnem); in SetCC()
662 const char* mnem = conditional_move_mnem[cond]; in CMov() local
663 int op_size = PrintOperands(mnem, REG_OPER_OP_ORDER, data + 2); in CMov()
684 const char* mnem = "?"; in MemoryFPUInstruction() local
688 case 0: mnem = "fld_s"; break; in MemoryFPUInstruction()
689 case 2: mnem = "fst_s"; break; in MemoryFPUInstruction()
690 case 3: mnem = "fstp_s"; break; in MemoryFPUInstruction()
692 mnem = "fldcw"; in MemoryFPUInstruction()
695 mnem = "fnstcw"; in MemoryFPUInstruction()
702 case 0: mnem = "fild_s"; break; in MemoryFPUInstruction()
703 case 1: mnem = "fisttp_s"; break; in MemoryFPUInstruction()
704 case 2: mnem = "fist_s"; break; in MemoryFPUInstruction()
705 case 3: mnem = "fistp_s"; break; in MemoryFPUInstruction()
713 mnem = "fadd_d"; in MemoryFPUInstruction()
716 mnem = "fmul_d"; in MemoryFPUInstruction()
719 mnem = "fsub_d"; in MemoryFPUInstruction()
722 mnem = "fsubr_d"; in MemoryFPUInstruction()
725 mnem = "fdiv_d"; in MemoryFPUInstruction()
728 mnem = "fdivr_d"; in MemoryFPUInstruction()
736 case 0: mnem = "fld_d"; break; in MemoryFPUInstruction()
737 case 1: mnem = "fisttp_d"; break; in MemoryFPUInstruction()
738 case 2: mnem = "fst_d"; break; in MemoryFPUInstruction()
739 case 3: mnem = "fstp_d"; break; in MemoryFPUInstruction()
741 mnem = "frstor"; in MemoryFPUInstruction()
744 mnem = "fnsave"; in MemoryFPUInstruction()
751 case 5: mnem = "fild_d"; break; in MemoryFPUInstruction()
752 case 7: mnem = "fistp_d"; break; in MemoryFPUInstruction()
759 AppendToBuffer("%s ", mnem); in MemoryFPUInstruction()
767 const char* mnem = "?"; in RegisterFPUInstruction() local
773 case 0xC0: mnem = "fadd_i"; break; in RegisterFPUInstruction()
774 case 0xE0: mnem = "fsub_i"; break; in RegisterFPUInstruction()
775 case 0xC8: mnem = "fmul_i"; break; in RegisterFPUInstruction()
776 case 0xF0: mnem = "fdiv_i"; break; in RegisterFPUInstruction()
784 mnem = "fld"; in RegisterFPUInstruction()
788 mnem = "fxch"; in RegisterFPUInstruction()
793 case 0xE0: mnem = "fchs"; break; in RegisterFPUInstruction()
794 case 0xE1: mnem = "fabs"; break; in RegisterFPUInstruction()
795 case 0xE4: mnem = "ftst"; break; in RegisterFPUInstruction()
796 case 0xE8: mnem = "fld1"; break; in RegisterFPUInstruction()
797 case 0xEB: mnem = "fldpi"; break; in RegisterFPUInstruction()
798 case 0xED: mnem = "fldln2"; break; in RegisterFPUInstruction()
799 case 0xEE: mnem = "fldz"; break; in RegisterFPUInstruction()
800 case 0xF0: mnem = "f2xm1"; break; in RegisterFPUInstruction()
801 case 0xF1: mnem = "fyl2x"; break; in RegisterFPUInstruction()
802 case 0xF4: mnem = "fxtract"; break; in RegisterFPUInstruction()
803 case 0xF5: mnem = "fprem1"; break; in RegisterFPUInstruction()
804 case 0xF7: mnem = "fincstp"; break; in RegisterFPUInstruction()
805 case 0xF8: mnem = "fprem"; break; in RegisterFPUInstruction()
806 case 0xFC: mnem = "frndint"; break; in RegisterFPUInstruction()
807 case 0xFD: mnem = "fscale"; break; in RegisterFPUInstruction()
808 case 0xFE: mnem = "fsin"; break; in RegisterFPUInstruction()
809 case 0xFF: mnem = "fcos"; break; in RegisterFPUInstruction()
817 mnem = "fucompp"; in RegisterFPUInstruction()
825 mnem = "fucomi"; in RegisterFPUInstruction()
828 mnem = "fclex"; in RegisterFPUInstruction()
830 mnem = "fninit"; in RegisterFPUInstruction()
839 case 0xC0: mnem = "fadd"; break; in RegisterFPUInstruction()
840 case 0xE8: mnem = "fsub"; break; in RegisterFPUInstruction()
841 case 0xC8: mnem = "fmul"; break; in RegisterFPUInstruction()
842 case 0xF8: mnem = "fdiv"; break; in RegisterFPUInstruction()
850 case 0xC0: mnem = "ffree"; break; in RegisterFPUInstruction()
851 case 0xD0: mnem = "fst"; break; in RegisterFPUInstruction()
852 case 0xD8: mnem = "fstp"; break; in RegisterFPUInstruction()
859 mnem = "fcompp"; in RegisterFPUInstruction()
863 case 0xC0: mnem = "faddp"; break; in RegisterFPUInstruction()
864 case 0xE8: mnem = "fsubp"; break; in RegisterFPUInstruction()
865 case 0xC8: mnem = "fmulp"; break; in RegisterFPUInstruction()
866 case 0xF8: mnem = "fdivp"; break; in RegisterFPUInstruction()
874 mnem = "fnstsw_ax"; in RegisterFPUInstruction()
876 mnem = "fucomip"; in RegisterFPUInstruction()
885 AppendToBuffer("%s st%d", mnem, modrm_byte & 0x7); in RegisterFPUInstruction()
887 AppendToBuffer("%s", mnem); in RegisterFPUInstruction()
960 AppendToBuffer("%s", idesc.mnem); in InstructionDecode()
966 data += PrintOperands(idesc.mnem, idesc.op_order_, data); in InstructionDecode()
974 AppendToBuffer("%s %s", idesc.mnem, NameOfCPURegister(*data & 0x07)); in InstructionDecode()
989 AppendToBuffer("%s %s", idesc.mnem, NameOfAddress(addr)); in InstructionDecode()
996 AppendToBuffer("%s eax,%s", idesc.mnem, NameOfAddress(addr)); in InstructionDecode()
1002 AppendToBuffer("%s al,0x%x", idesc.mnem, data[1]); in InstructionDecode()
1218 const char* mnem = NULL; in InstructionDecode() local
1220 case esi: mnem = "push"; break; in InstructionDecode()
1221 case eax: mnem = "inc"; break; in InstructionDecode()
1222 case ecx: mnem = "dec"; break; in InstructionDecode()
1223 case edx: mnem = "call"; break; in InstructionDecode()
1224 case esp: mnem = "jmp"; break; in InstructionDecode()
1225 default: mnem = "???"; in InstructionDecode()
1227 AppendToBuffer("%s ", mnem); in InstructionDecode()
1256 const char* mnem = NULL; in InstructionDecode() local
1258 case 5: mnem = "subb"; break; in InstructionDecode()
1259 case 7: mnem = "cmpb"; break; in InstructionDecode()
1262 AppendToBuffer("%s ", mnem); in InstructionDecode()
1401 const char* mnem = (*data == 0x2E) ? "ucomisd" : "comisd"; in InstructionDecode() local
1406 AppendToBuffer("%s %s,%s", mnem, in InstructionDecode()
1411 AppendToBuffer("%s %s,", mnem, NameOfXMMRegister(regop)); in InstructionDecode()
1642 const char* mnem = "?"; in InstructionDecode() local
1644 case 0x2A: mnem = "cvtsi2sd"; break; in InstructionDecode()
1645 case 0x2C: mnem = "cvttsd2si"; break; in InstructionDecode()
1646 case 0x2D: mnem = "cvtsd2si"; break; in InstructionDecode()
1647 case 0x51: mnem = "sqrtsd"; break; in InstructionDecode()
1648 case 0x58: mnem = "addsd"; break; in InstructionDecode()
1649 case 0x59: mnem = "mulsd"; break; in InstructionDecode()
1650 case 0x5C: mnem = "subsd"; break; in InstructionDecode()
1651 case 0x5E: mnem = "divsd"; break; in InstructionDecode()
1657 AppendToBuffer("%s %s,", mnem, NameOfXMMRegister(regop)); in InstructionDecode()
1660 AppendToBuffer("%s %s,", mnem, NameOfCPURegister(regop)); in InstructionDecode()
1680 AppendToBuffer("%s %s,", mnem, NameOfXMMRegister(regop)); in InstructionDecode()