insnsd.c
资源名称:nasm-0.98.zip [点击查看]
上传用户:yuppie_zhu
上传日期:2007-01-08
资源大小:535k
文件大小:131k
源码类别:
编译器/解释器
开发平台:
C/C++
- /* This file auto-generated from insns.dat by insns.pl - don't edit it */
- #include <stdio.h>
- #include "nasm.h"
- #include "insns.h"
- static struct itemplate instrux[] = {
- {I_AAA, 0, {0,0,0}, "1x37", IF_8086},
- {I_AAD, 0, {0,0,0}, "2xD5x0A", IF_8086},
- {I_AAD, 1, {IMMEDIATE,0,0}, "1xD524", IF_8086|IF_SB},
- {I_AAM, 0, {0,0,0}, "2xD4x0A", IF_8086},
- {I_AAM, 1, {IMMEDIATE,0,0}, "1xD424", IF_8086|IF_SB},
- {I_AAS, 0, {0,0,0}, "1x3F", IF_8086},
- {I_ADC, 2, {MEMORY,REG8,0}, "3001x10101", IF_8086|IF_SM},
- {I_ADC, 2, {REG8,REG8,0}, "3001x10101", IF_8086},
- {I_ADC, 2, {MEMORY,REG16,0}, "3203001x11101", IF_8086|IF_SM},
- {I_ADC, 2, {REG16,REG16,0}, "3203001x11101", IF_8086},
- {I_ADC, 2, {MEMORY,REG32,0}, "3213001x11101", IF_386|IF_SM},
- {I_ADC, 2, {REG32,REG32,0}, "3213001x11101", IF_386},
- {I_ADC, 2, {REG8,MEMORY,0}, "3011x12110", IF_8086|IF_SM},
- {I_ADC, 2, {REG8,REG8,0}, "3011x12110", IF_8086},
- {I_ADC, 2, {REG16,MEMORY,0}, "3203011x13110", IF_8086|IF_SM},
- {I_ADC, 2, {REG16,REG16,0}, "3203011x13110", IF_8086},
- {I_ADC, 2, {REG32,MEMORY,0}, "3213011x13110", IF_386|IF_SM},
- {I_ADC, 2, {REG32,REG32,0}, "3213011x13110", IF_386},
- {I_ADC, 2, {REGMEM|BITS16,IMMEDIATE|BITS8,0}, "3203001x8320215", IF_8086},
- {I_ADC, 2, {REGMEM|BITS32,IMMEDIATE|BITS8,0}, "3213001x8320215", IF_386},
- {I_ADC, 2, {REG_AL,IMMEDIATE,0}, "1x1421", IF_8086|IF_SM},
- {I_ADC, 2, {REG_AX,IMMEDIATE,0}, "3201x1531", IF_8086|IF_SM},
- {I_ADC, 2, {REG_EAX,IMMEDIATE,0}, "3211x1541", IF_386|IF_SM},
- {I_ADC, 2, {REGMEM|BITS8,IMMEDIATE,0}, "3001x8020221", IF_8086|IF_SM},
- {I_ADC, 2, {REGMEM|BITS16,IMMEDIATE,0}, "3203001x8120231", IF_8086|IF_SM},
- {I_ADC, 2, {REGMEM|BITS32,IMMEDIATE,0}, "3213001x8120241", IF_386|IF_SM},
- {I_ADC, 2, {MEMORY,IMMEDIATE|BITS8,0}, "3001x8020221", IF_8086|IF_SM},
- {I_ADC, 2, {MEMORY,IMMEDIATE|BITS16,0}, "3203001x8120231", IF_8086|IF_SM},
- {I_ADC, 2, {MEMORY,IMMEDIATE|BITS32,0}, "3213001x8120241", IF_386|IF_SM},
- {I_ADD, 2, {MEMORY,REG8,0}, "30017101", IF_8086|IF_SM},
- {I_ADD, 2, {REG8,REG8,0}, "30017101", IF_8086},
- {I_ADD, 2, {MEMORY,REG16,0}, "3203001x01101", IF_8086|IF_SM},
- {I_ADD, 2, {REG16,REG16,0}, "3203001x01101", IF_8086},
- {I_ADD, 2, {MEMORY,REG32,0}, "3213001x01101", IF_386|IF_SM},
- {I_ADD, 2, {REG32,REG32,0}, "3213001x01101", IF_386},
- {I_ADD, 2, {REG8,MEMORY,0}, "3011x02110", IF_8086|IF_SM},
- {I_ADD, 2, {REG8,REG8,0}, "3011x02110", IF_8086},
- {I_ADD, 2, {REG16,MEMORY,0}, "3203011x03110", IF_8086|IF_SM},
- {I_ADD, 2, {REG16,REG16,0}, "3203011x03110", IF_8086},
- {I_ADD, 2, {REG32,MEMORY,0}, "3213011x03110", IF_386|IF_SM},
- {I_ADD, 2, {REG32,REG32,0}, "3213011x03110", IF_386},
- {I_ADD, 2, {REGMEM|BITS16,IMMEDIATE|BITS8,0}, "3203001x8320015", IF_8086},
- {I_ADD, 2, {REGMEM|BITS32,IMMEDIATE|BITS8,0}, "3213001x8320015", IF_386},
- {I_ADD, 2, {REG_AL,IMMEDIATE,0}, "1x0421", IF_8086|IF_SM},
- {I_ADD, 2, {REG_AX,IMMEDIATE,0}, "3201x0531", IF_8086|IF_SM},
- {I_ADD, 2, {REG_EAX,IMMEDIATE,0}, "3211x0541", IF_386|IF_SM},
- {I_ADD, 2, {REGMEM|BITS8,IMMEDIATE,0}, "3001x8020021", IF_8086|IF_SM},
- {I_ADD, 2, {REGMEM|BITS16,IMMEDIATE,0}, "3203001x8120031", IF_8086|IF_SM},
- {I_ADD, 2, {REGMEM|BITS32,IMMEDIATE,0}, "3213001x8120041", IF_386|IF_SM},
- {I_ADD, 2, {MEMORY,IMMEDIATE|BITS8,0}, "3001x8020021", IF_8086|IF_SM},
- {I_ADD, 2, {MEMORY,IMMEDIATE|BITS16,0}, "3203001x8120031", IF_8086|IF_SM},
- {I_ADD, 2, {MEMORY,IMMEDIATE|BITS32,0}, "3213001x8120041", IF_386|IF_SM},
- {I_AND, 2, {MEMORY,REG8,0}, "3001x20101", IF_8086|IF_SM},
- {I_AND, 2, {REG8,REG8,0}, "3001x20101", IF_8086},
- {I_AND, 2, {MEMORY,REG16,0}, "3203001x21101", IF_8086|IF_SM},
- {I_AND, 2, {REG16,REG16,0}, "3203001x21101", IF_8086},
- {I_AND, 2, {MEMORY,REG32,0}, "3213001x21101", IF_386|IF_SM},
- {I_AND, 2, {REG32,REG32,0}, "3213001x21101", IF_386},
- {I_AND, 2, {REG8,MEMORY,0}, "3011x22110", IF_8086|IF_SM},
- {I_AND, 2, {REG8,REG8,0}, "3011x22110", IF_8086},
- {I_AND, 2, {REG16,MEMORY,0}, "3203011x23110", IF_8086|IF_SM},
- {I_AND, 2, {REG16,REG16,0}, "3203011x23110", IF_8086},
- {I_AND, 2, {REG32,MEMORY,0}, "3213011x23110", IF_386|IF_SM},
- {I_AND, 2, {REG32,REG32,0}, "3213011x23110", IF_386},
- {I_AND, 2, {REGMEM|BITS16,IMMEDIATE|BITS8,0}, "3203001x8320415", IF_8086},
- {I_AND, 2, {REGMEM|BITS32,IMMEDIATE|BITS8,0}, "3213001x8320415", IF_386},
- {I_AND, 2, {REG_AL,IMMEDIATE,0}, "1x2421", IF_8086|IF_SM},
- {I_AND, 2, {REG_AX,IMMEDIATE,0}, "3201x2531", IF_8086|IF_SM},
- {I_AND, 2, {REG_EAX,IMMEDIATE,0}, "3211x2541", IF_386|IF_SM},
- {I_AND, 2, {REGMEM|BITS8,IMMEDIATE,0}, "3001x8020421", IF_8086|IF_SM},
- {I_AND, 2, {REGMEM|BITS16,IMMEDIATE,0}, "3203001x8120431", IF_8086|IF_SM},
- {I_AND, 2, {REGMEM|BITS32,IMMEDIATE,0}, "3213001x8120441", IF_386|IF_SM},
- {I_AND, 2, {MEMORY,IMMEDIATE|BITS8,0}, "3001x8020421", IF_8086|IF_SM},
- {I_AND, 2, {MEMORY,IMMEDIATE|BITS16,0}, "3203001x8120431", IF_8086|IF_SM},
- {I_AND, 2, {MEMORY,IMMEDIATE|BITS32,0}, "3213001x8120441", IF_386|IF_SM},
- {I_ARPL, 2, {MEMORY,REG16,0}, "3001x63101", IF_286|IF_PROT|IF_SM},
- {I_ARPL, 2, {REG16,REG16,0}, "3001x63101", IF_286|IF_PROT},
- {I_BOUND, 2, {REG16,MEMORY,0}, "3203011x62110", IF_186},
- {I_BOUND, 2, {REG32,MEMORY,0}, "3213011x62110", IF_386},
- {I_BSF, 2, {REG16,MEMORY,0}, "3203012x0FxBC110", IF_386|IF_SM},
- {I_BSF, 2, {REG16,REG16,0}, "3203012x0FxBC110", IF_386},
- {I_BSF, 2, {REG32,MEMORY,0}, "3213012x0FxBC110", IF_386|IF_SM},
- {I_BSF, 2, {REG32,REG32,0}, "3213012x0FxBC110", IF_386},
- {I_BSR, 2, {REG16,MEMORY,0}, "3203012x0FxBD110", IF_386|IF_SM},
- {I_BSR, 2, {REG16,REG16,0}, "3203012x0FxBD110", IF_386},
- {I_BSR, 2, {REG32,MEMORY,0}, "3213012x0FxBD110", IF_386|IF_SM},
- {I_BSR, 2, {REG32,REG32,0}, "3213012x0FxBD110", IF_386},
- {I_BSWAP, 1, {REG32,0,0}, "3211x0F10xC8", IF_486},
- {I_BT, 2, {MEMORY,REG16,0}, "3203002x0FxA3101", IF_386|IF_SM},
- {I_BT, 2, {REG16,REG16,0}, "3203002x0FxA3101", IF_386},
- {I_BT, 2, {MEMORY,REG32,0}, "3213002x0FxA3101", IF_386|IF_SM},
- {I_BT, 2, {REG32,REG32,0}, "3213002x0FxA3101", IF_386},
- {I_BT, 2, {REGMEM|BITS16,IMMEDIATE,0}, "3203002x0FxBA20425", IF_386|IF_SB},
- {I_BT, 2, {REGMEM|BITS32,IMMEDIATE,0}, "3213002x0FxBA20425", IF_386|IF_SB},
- {I_BTC, 2, {MEMORY,REG16,0}, "3203002x0FxBB101", IF_386|IF_SM},
- {I_BTC, 2, {REG16,REG16,0}, "3203002x0FxBB101", IF_386},
- {I_BTC, 2, {MEMORY,REG32,0}, "3213002x0FxBB101", IF_386|IF_SM},
- {I_BTC, 2, {REG32,REG32,0}, "3213002x0FxBB101", IF_386},
- {I_BTC, 2, {REGMEM|BITS16,IMMEDIATE,0}, "3203002x0FxBA20725", IF_386|IF_SB},
- {I_BTC, 2, {REGMEM|BITS32,IMMEDIATE,0}, "3213002x0FxBA20725", IF_386|IF_SB},
- {I_BTR, 2, {MEMORY,REG16,0}, "3203002x0FxB3101", IF_386|IF_SM},
- {I_BTR, 2, {REG16,REG16,0}, "3203002x0FxB3101", IF_386},
- {I_BTR, 2, {MEMORY,REG32,0}, "3213002x0FxB3101", IF_386|IF_SM},
- {I_BTR, 2, {REG32,REG32,0}, "3213002x0FxB3101", IF_386},
- {I_BTR, 2, {REGMEM|BITS16,IMMEDIATE,0}, "3203002x0FxBA20625", IF_386|IF_SB},
- {I_BTR, 2, {REGMEM|BITS32,IMMEDIATE,0}, "3213002x0FxBA20625", IF_386|IF_SB},
- {I_BTS, 2, {MEMORY,REG16,0}, "3203002x0FxAB101", IF_386|IF_SM},
- {I_BTS, 2, {REG16,REG16,0}, "3203002x0FxAB101", IF_386},
- {I_BTS, 2, {MEMORY,REG32,0}, "3213002x0FxAB101", IF_386|IF_SM},
- {I_BTS, 2, {REG32,REG32,0}, "3213002x0FxAB101", IF_386},
- {I_BTS, 2, {REGMEM|BITS16,IMMEDIATE,0}, "3203002x0FxBA20525", IF_386|IF_SB},
- {I_BTS, 2, {REGMEM|BITS32,IMMEDIATE,0}, "3213002x0FxBA20525", IF_386|IF_SB},
- {I_CALL, 1, {IMMEDIATE,0,0}, "3221xE864", IF_8086},
- {I_CALL, 1, {IMMEDIATE|NEAR,0,0}, "3221xE864", IF_8086},
- {I_CALL, 1, {IMMEDIATE|BITS16,0,0}, "3201xE864", IF_8086},
- {I_CALL, 1, {IMMEDIATE|BITS16|NEAR,0,0}, "3201xE864", IF_8086},
- {I_CALL, 1, {IMMEDIATE|BITS32,0,0}, "3211xE864", IF_8086},
- {I_CALL, 1, {IMMEDIATE|BITS32|NEAR,0,0}, "3211xE864", IF_8086},
- {I_CALL, 2, {IMMEDIATE|COLON,IMMEDIATE,0}, "3221x9A3530", IF_8086},
- {I_CALL, 2, {IMMEDIATE|BITS16|COLON,IMMEDIATE,0}, "3201x9A3130", IF_8086},
- {I_CALL, 2, {IMMEDIATE|COLON,IMMEDIATE|BITS16,0}, "3201x9A3130", IF_8086},
- {I_CALL, 2, {IMMEDIATE|BITS32|COLON,IMMEDIATE,0}, "3211x9A4130", IF_386},
- {I_CALL, 2, {IMMEDIATE|COLON,IMMEDIATE|BITS32,0}, "3211x9A4130", IF_386},
- {I_CALL, 1, {MEMORY|FAR,0,0}, "3223001xFF203", IF_8086},
- {I_CALL, 1, {MEMORY|BITS16|FAR,0,0}, "3203001xFF203", IF_8086},
- {I_CALL, 1, {MEMORY|BITS32|FAR,0,0}, "3213001xFF203", IF_386},
- {I_CALL, 1, {MEMORY|NEAR,0,0}, "3223001xFF202", IF_8086},
- {I_CALL, 1, {MEMORY|BITS16|NEAR,0,0}, "3203001xFF202", IF_8086},
- {I_CALL, 1, {MEMORY|BITS32|NEAR,0,0}, "3213001xFF202", IF_386},
- {I_CALL, 1, {REG16,0,0}, "3203001xFF202", IF_8086},
- {I_CALL, 1, {REG32,0,0}, "3213001xFF202", IF_386},
- {I_CALL, 1, {MEMORY,0,0}, "3223001xFF202", IF_8086},
- {I_CALL, 1, {MEMORY|BITS16,0,0}, "3203001xFF202", IF_8086},
- {I_CALL, 1, {MEMORY|BITS32,0,0}, "3213001xFF202", IF_386},
- {I_CBW, 0, {0,0,0}, "3201x98", IF_8086},
- {I_CDQ, 0, {0,0,0}, "3211x99", IF_386},
- {I_CLC, 0, {0,0,0}, "1xF8", IF_8086},
- {I_CLD, 0, {0,0,0}, "1xFC", IF_8086},
- {I_CLI, 0, {0,0,0}, "1xFA", IF_8086},
- {I_CLTS, 0, {0,0,0}, "2x0Fx06", IF_286|IF_PRIV},
- {I_CMC, 0, {0,0,0}, "1xF5", IF_8086},
- {I_CMP, 2, {MEMORY,REG8,0}, "3001x38101", IF_8086|IF_SM},
- {I_CMP, 2, {REG8,REG8,0}, "3001x38101", IF_8086},
- {I_CMP, 2, {MEMORY,REG16,0}, "3203001x39101", IF_8086|IF_SM},
- {I_CMP, 2, {REG16,REG16,0}, "3203001x39101", IF_8086},
- {I_CMP, 2, {MEMORY,REG32,0}, "3213001x39101", IF_386|IF_SM},
- {I_CMP, 2, {REG32,REG32,0}, "3213001x39101", IF_386},
- {I_CMP, 2, {REG8,MEMORY,0}, "3011x3A110", IF_8086|IF_SM},
- {I_CMP, 2, {REG8,REG8,0}, "3011x3A110", IF_8086},
- {I_CMP, 2, {REG16,MEMORY,0}, "3203011x3B110", IF_8086|IF_SM},
- {I_CMP, 2, {REG16,REG16,0}, "3203011x3B110", IF_8086},
- {I_CMP, 2, {REG32,MEMORY,0}, "3213011x3B110", IF_386|IF_SM},
- {I_CMP, 2, {REG32,REG32,0}, "3213011x3B110", IF_386},
- {I_CMP, 2, {REGMEM|BITS16,IMMEDIATE|BITS8,0}, "3203001x8320715", IF_8086},
- {I_CMP, 2, {REGMEM|BITS32,IMMEDIATE|BITS8,0}, "3213001x8320715", IF_386},
- {I_CMP, 2, {REG_AL,IMMEDIATE,0}, "1x3C21", IF_8086|IF_SM},
- {I_CMP, 2, {REG_AX,IMMEDIATE,0}, "3201x3D31", IF_8086|IF_SM},
- {I_CMP, 2, {REG_EAX,IMMEDIATE,0}, "3211x3D41", IF_386|IF_SM},
- {I_CMP, 2, {REGMEM|BITS8,IMMEDIATE,0}, "3001x8020721", IF_8086|IF_SM},
- {I_CMP, 2, {REGMEM|BITS16,IMMEDIATE,0}, "3203001x8120731", IF_8086|IF_SM},
- {I_CMP, 2, {REGMEM|BITS32,IMMEDIATE,0}, "3213001x8120741", IF_386|IF_SM},
- {I_CMP, 2, {MEMORY,IMMEDIATE|BITS8,0}, "3001x8020721", IF_8086|IF_SM},
- {I_CMP, 2, {MEMORY,IMMEDIATE|BITS16,0}, "3203001x8120731", IF_8086|IF_SM},
- {I_CMP, 2, {MEMORY,IMMEDIATE|BITS32,0}, "3213001x8120741", IF_386|IF_SM},
- {I_CMPSB, 0, {0,0,0}, "3321xA6", IF_8086},
- {I_CMPSD, 0, {0,0,0}, "3323211xA7", IF_386},
- {I_CMPSW, 0, {0,0,0}, "3323201xA7", IF_8086},
- {I_CMPXCHG, 2, {MEMORY,REG8,0}, "3002x0FxB0101", IF_PENT|IF_SM},
- {I_CMPXCHG, 2, {REG8,REG8,0}, "3002x0FxB0101", IF_PENT},
- {I_CMPXCHG, 2, {MEMORY,REG16,0}, "3203002x0FxB1101", IF_PENT|IF_SM},
- {I_CMPXCHG, 2, {REG16,REG16,0}, "3203002x0FxB1101", IF_PENT},
- {I_CMPXCHG, 2, {MEMORY,REG32,0}, "3213002x0FxB1101", IF_PENT|IF_SM},
- {I_CMPXCHG, 2, {REG32,REG32,0}, "3213002x0FxB1101", IF_PENT},
- {I_CMPXCHG486, 2, {MEMORY,REG8,0}, "3002x0FxA6101", IF_486|IF_SM|IF_UNDOC},
- {I_CMPXCHG486, 2, {REG8,REG8,0}, "3002x0FxA6101", IF_486|IF_UNDOC},
- {I_CMPXCHG486, 2, {MEMORY,REG16,0}, "3203002x0FxA7101", IF_486|IF_SM|IF_UNDOC},
- {I_CMPXCHG486, 2, {REG16,REG16,0}, "3203002x0FxA7101", IF_486|IF_UNDOC},
- {I_CMPXCHG486, 2, {MEMORY,REG32,0}, "3213002x0FxA7101", IF_486|IF_SM|IF_UNDOC},
- {I_CMPXCHG486, 2, {REG32,REG32,0}, "3213002x0FxA7101", IF_486|IF_UNDOC},
- {I_CMPXCHG8B, 1, {MEMORY,0,0}, "3002x0FxC7201", IF_PENT},
- {I_CPUID, 0, {0,0,0}, "2x0FxA2", IF_PENT},
- {I_CWD, 0, {0,0,0}, "3201x99", IF_8086},
- {I_CWDE, 0, {0,0,0}, "3211x98", IF_386},
- {I_DAA, 0, {0,0,0}, "1x27", IF_8086},
- {I_DAS, 0, {0,0,0}, "1x2F", IF_8086},
- {I_DEC, 1, {REG16,0,0}, "32010x48", IF_8086},
- {I_DEC, 1, {REG32,0,0}, "32110x48", IF_386},
- {I_DEC, 1, {REGMEM|BITS8,0,0}, "3001xFE201", IF_8086},
- {I_DEC, 1, {REGMEM|BITS16,0,0}, "3203001xFF201", IF_8086},
- {I_DEC, 1, {REGMEM|BITS32,0,0}, "3213001xFF201", IF_386},
- {I_DIV, 1, {REGMEM|BITS8,0,0}, "3001xF6206", IF_8086},
- {I_DIV, 1, {REGMEM|BITS16,0,0}, "3203001xF7206", IF_8086},
- {I_DIV, 1, {REGMEM|BITS32,0,0}, "3213001xF7206", IF_386},
- {I_EMMS, 0, {0,0,0}, "2x0Fx77", IF_PENT|IF_MMX},
- {I_ENTER, 2, {IMMEDIATE,IMMEDIATE,0}, "1xC83025", IF_186},
- {I_EQU, 1, {IMMEDIATE,0,0}, "