All pastes #425056 Raw Edit

CPU

public cpp v1 · immutable
·published 2007-04-05 07:08 UTC
rendered paste body
S_NasmEntry g_NasmInstructions[] = {	 {instrux_AAA, NULL},    {instrux_AAD, NULL},    {instrux_AAM, NULL},    {instrux_AAS, NULL},    {instrux_ADC, NULL},    {instrux_ADD, asm_add},    {instrux_AND, NULL},    {instrux_ARPL, NULL},    {instrux_BOUND, NULL},    {instrux_BSF, NULL},    {instrux_BSR, NULL},    {instrux_BSWAP, NULL},    {instrux_BT, NULL},    {instrux_BTC, NULL},    {instrux_BTR, NULL},    {instrux_BTS, NULL},    {instrux_CALL, asm_call},    {instrux_CBW, NULL},    {instrux_CDQ, NULL},    {instrux_CLC, asm_clc},    {instrux_CLD, asm_cld},    {instrux_CLI, asm_cli},    {instrux_CLTS, NULL},    {instrux_CMC, asm_cmc},    {instrux_CMP, NULL},    {instrux_CMPSB, NULL},    {instrux_CMPSD, NULL},    {instrux_CMPSW, NULL},    {instrux_CMPXCHG, NULL},    {instrux_CMPXCHG486, NULL},    {instrux_CMPXCHG8B, NULL},    {instrux_CPUID, NULL},    {instrux_CWD, NULL},    {instrux_CWDE, NULL},    {instrux_DAA, NULL},    {instrux_DAS, NULL},    {instrux_DB, NULL},    {instrux_DD, NULL},    {instrux_DEC, asm_dec},    {instrux_DIV, NULL},    {instrux_DQ, NULL},    {instrux_DT, NULL},    {instrux_DW, NULL},    {instrux_EMMS, NULL},    {instrux_ENTER, NULL},    {instrux_EQU, NULL},    {instrux_F2XM1, NULL},    {instrux_FABS, NULL},    {instrux_FADD, NULL},    {instrux_FADDP, NULL},    {instrux_FBLD, NULL},    {instrux_FBSTP, NULL},    {instrux_FCHS, NULL},    {instrux_FCLEX, NULL},    {instrux_FCMOVB, NULL},    {instrux_FCMOVBE, NULL},    {instrux_FCMOVE, NULL},    {instrux_FCMOVNB, NULL},    {instrux_FCMOVNBE, NULL},    {instrux_FCMOVNE, NULL},    {instrux_FCMOVNU, NULL},    {instrux_FCMOVU, NULL},    {instrux_FCOM, NULL},    {instrux_FCOMI, NULL},    {instrux_FCOMIP, NULL},    {instrux_FCOMP, NULL},    {instrux_FCOMPP, NULL},    {instrux_FCOS, NULL},    {instrux_FDECSTP, NULL},    {instrux_FDISI, NULL},    {instrux_FDIV, NULL},    {instrux_FDIVP, NULL},    {instrux_FDIVR, NULL},    {instrux_FDIVRP, NULL},    {instrux_FENI, NULL},    {instrux_FFREE, NULL},    {instrux_FIADD, NULL},    {instrux_FICOM, NULL},    {instrux_FICOMP, NULL},    {instrux_FIDIV, NULL},    {instrux_FIDIVR, NULL},    {instrux_FILD, NULL},    {instrux_FIMUL, NULL},    {instrux_FINCSTP, NULL},    {instrux_FINIT, NULL},    {instrux_FIST, NULL},    {instrux_FISTP, NULL},    {instrux_FISUB, NULL},    {instrux_FISUBR, NULL},    {instrux_FLD, NULL},    {instrux_FLD1, NULL},    {instrux_FLDCW, NULL},    {instrux_FLDENV, NULL},    {instrux_FLDL2E, NULL},    {instrux_FLDL2T, NULL},    {instrux_FLDLG2, NULL},    {instrux_FLDLN2, NULL},    {instrux_FLDPI, NULL},    {instrux_FLDZ, NULL},    {instrux_FMUL, NULL},    {instrux_FMULP, NULL},    {instrux_FNCLEX, NULL},    {instrux_FNDISI, NULL},    {instrux_FNENI, NULL},    {instrux_FNINIT, NULL},    {instrux_FNOP, NULL},    {instrux_FNSAVE, NULL},    {instrux_FNSTCW, NULL},    {instrux_FNSTENV, NULL},    {instrux_FNSTSW, NULL},    {instrux_FPATAN, NULL},    {instrux_FPREM, NULL},    {instrux_FPREM1, NULL},    {instrux_FPTAN, NULL},    {instrux_FRNDINT, NULL},    {instrux_FRSTOR, NULL},    {instrux_FSAVE, NULL},    {instrux_FSCALE, NULL},    {instrux_FSETPM, NULL},    {instrux_FSIN, NULL},    {instrux_FSINCOS, NULL},    {instrux_FSQRT, NULL},    {instrux_FST, NULL},    {instrux_FSTCW, NULL},    {instrux_FSTENV, NULL},    {instrux_FSTP, NULL},    {instrux_FSTSW, NULL},    {instrux_FSUB, NULL},    {instrux_FSUBP, NULL},    {instrux_FSUBR, NULL},    {instrux_FSUBRP, NULL},    {instrux_FTST, NULL},    {instrux_FUCOM, NULL},    {instrux_FUCOMI, NULL},    {instrux_FUCOMIP, NULL},    {instrux_FUCOMP, NULL},    {instrux_FUCOMPP, NULL},    {instrux_FXAM, NULL},    {instrux_FXCH, NULL},    {instrux_FXTRACT, NULL},    {instrux_FYL2X, NULL},    {instrux_FYL2XP1, NULL},    {instrux_HLT, NULL},    {instrux_IBTS, NULL},    {instrux_ICEBP, NULL},    {instrux_IDIV, NULL},    {instrux_IMUL, NULL},    {instrux_IN, NULL},    {instrux_INC, asm_inc},    {instrux_INCBIN, NULL},    {instrux_INSB, NULL},    {instrux_INSD, NULL},    {instrux_INSW, NULL},    {instrux_INT, NULL},    {instrux_INT01, NULL},    {instrux_INT1, NULL},    {instrux_INT3, NULL},    {instrux_INTO, NULL},    {instrux_INVD, NULL},    {instrux_INVLPG, NULL},    {instrux_IRET, NULL},    {instrux_IRETD, NULL},    {instrux_IRETW, NULL},    {instrux_JCXZ, NULL},    {instrux_JECXZ, NULL},    {instrux_JMP, asm_jmp},    {instrux_LAHF, asm_lahf},    {instrux_LAR, NULL},    {instrux_LDS, NULL},    {instrux_LEA, asm_lea},    {instrux_LEAVE, NULL},    {instrux_LES, NULL},    {instrux_LFS, NULL},    {instrux_LGDT, NULL},    {instrux_LGS, NULL},    {instrux_LIDT, NULL},    {instrux_LLDT, NULL},    {instrux_LMSW, NULL},    {instrux_LOADALL, NULL},    {instrux_LOADALL286, NULL},    {instrux_LODSB, NULL},    {instrux_LODSD, NULL},    {instrux_LODSW, NULL},    {instrux_LOOP, NULL},    {instrux_LOOPE, NULL},    {instrux_LOOPNE, NULL},    {instrux_LOOPNZ, NULL},    {instrux_LOOPZ, NULL},    {instrux_LSL, NULL},    {instrux_LSS, NULL},    {instrux_LTR, NULL},    {instrux_MOV, asm_mov},    {instrux_MOVD, NULL},    {instrux_MOVQ, NULL},    {instrux_MOVSB, NULL},    {instrux_MOVSD, NULL},    {instrux_MOVSW, NULL},    {instrux_MOVSX, NULL},    {instrux_MOVZX, NULL},    {instrux_MUL, NULL},    {instrux_NEG, NULL},    {instrux_NOP, NULL},    {instrux_NOT, NULL},    {instrux_OR, NULL},    {instrux_OUT, NULL},    {instrux_OUTSB, NULL},    {instrux_OUTSD, NULL},    {instrux_OUTSW, NULL},    {instrux_PACKSSDW, NULL},    {instrux_PACKSSWB, NULL},    {instrux_PACKUSWB, NULL},    {instrux_PADDB, NULL},    {instrux_PADDD, NULL},    {instrux_PADDSB, NULL},    {instrux_PADDSIW, NULL},    {instrux_PADDSW, NULL},    {instrux_PADDUSB, NULL},    {instrux_PADDUSW, NULL},    {instrux_PADDW, NULL},    {instrux_PAND, NULL},    {instrux_PANDN, NULL},    {instrux_PAVEB, NULL},    {instrux_PCMPEQB, NULL},    {instrux_PCMPEQD, NULL},    {instrux_PCMPEQW, NULL},    {instrux_PCMPGTB, NULL},    {instrux_PCMPGTD, NULL},    {instrux_PCMPGTW, NULL},    {instrux_PDISTIB, NULL},    {instrux_PMACHRIW, NULL},    {instrux_PMADDWD, NULL},    {instrux_PMAGW, NULL},    {instrux_PMULHRW, NULL},    {instrux_PMULHRIW, NULL},    {instrux_PMULHW, NULL},    {instrux_PMULLW, NULL},    {instrux_PMVGEZB, NULL},    {instrux_PMVLZB, NULL},    {instrux_PMVNZB, NULL},    {instrux_PMVZB, NULL},    {instrux_POP, asm_pop},    {instrux_POPAD, asm_popad},    {instrux_POPAW, NULL},    {instrux_POPA, asm_popa},    {instrux_POPF, NULL},    {instrux_POPFD, NULL},    {instrux_POPFW, NULL},    {instrux_POR, NULL},    {instrux_PSLLD, NULL},    {instrux_PSLLQ, NULL},    {instrux_PSLLW, NULL},    {instrux_PSRAD, NULL},    {instrux_PSRAW, NULL},    {instrux_PSRLD, NULL},    {instrux_PSRLQ, NULL},    {instrux_PSRLW, NULL},    {instrux_PSUBB, NULL},    {instrux_PSUBD, NULL},    {instrux_PSUBSB, NULL},    {instrux_PSUBSIW, NULL},    {instrux_PSUBSW, NULL},    {instrux_PSUBUSB, NULL},    {instrux_PSUBUSW, NULL},    {instrux_PSUBW, NULL},    {instrux_PUNPCKHBW, NULL},    {instrux_PUNPCKHDQ, NULL},    {instrux_PUNPCKHWD, NULL},    {instrux_PUNPCKLBW, NULL},    {instrux_PUNPCKLDQ, NULL},    {instrux_PUNPCKLWD, NULL},    {instrux_PUSH, asm_push},      {instrux_PUSHAD, asm_pushad}, // {instrux_PUSHA, NULL},    {instrux_PUSHAW, NULL},       // {instrux_PUSHAD, NULL},    {instrux_PUSHA, asm_pusha},   // {instrux_PUSHAW, NULL},    {instrux_PUSHF, NULL},    {instrux_PUSHFD, NULL},    {instrux_PUSHFW, NULL},    {instrux_PXOR, NULL},    {instrux_RCL, NULL},    {instrux_RCR, NULL},    {instrux_RDMSR, NULL},    {instrux_RDPMC, NULL},    {instrux_RDTSC, NULL},    {instrux_RESB, NULL},    {instrux_RESD, NULL},    {instrux_RESQ, NULL},    {instrux_REST, NULL},    {instrux_RESW, NULL},    {instrux_RET, asm_ret},    {instrux_RETF, NULL},    {instrux_RETN, NULL},    {instrux_ROL, NULL},    {instrux_ROR, NULL},    {instrux_RSM, NULL},    {instrux_SAHF, asm_sahf},    {instrux_SAL, NULL},    {instrux_SALC, NULL},    {instrux_SAR, NULL},    {instrux_SBB, NULL},    {instrux_SCASB, NULL},    {instrux_SCASD, NULL},    {instrux_SCASW, NULL},    {instrux_SGDT, NULL},    {instrux_SHL, NULL},    {instrux_SHLD, NULL},    {instrux_SHR, NULL},    {instrux_SHRD, NULL},    {instrux_SIDT, NULL},    {instrux_SLDT, NULL},    {instrux_SMI, NULL},    {instrux_SMSW, NULL},    {instrux_STC, asm_stc},    {instrux_STD, asm_std},    {instrux_STI, asm_sti},    {instrux_STOSB, NULL},    {instrux_STOSD, NULL},    {instrux_STOSW, NULL},    {instrux_STR, NULL},    {instrux_SUB, asm_sub},    {instrux_TEST, NULL},    {instrux_UMOV, NULL},    {instrux_VERR, NULL},    {instrux_VERW, NULL},    {instrux_WAIT, NULL},    {instrux_WBINVD, NULL},    {instrux_WRMSR, NULL},    {instrux_XADD, NULL},    {instrux_XBTS, NULL},    {instrux_XCHG, NULL},    {instrux_XLATB, NULL},    {instrux_XOR, NULL},    {instrux_CMOVcc, NULL},    {instrux_Jcc, NULL},    {instrux_SETcc, NULL}};