|
|
| version 1.1, 2004/02/18 02:03:36 | version 1.4, 2005/03/18 09:23:10 |
|---|---|
| Line 26 enum { | Line 26 enum { |
| RSTR_CALL, | RSTR_CALL, |
| RSTR_CBW, RSTR_CDQ, | RSTR_CBW, RSTR_CDQ, |
| RSTR_CLC, RSTR_CLD, RSTR_CLI, RSTR_CMC, | RSTR_CLC, RSTR_CLD, RSTR_CLI, RSTR_CMC, |
| RSTR_CLTS, RSTR_CMP, RSTR_CMPXCHG, RSTR_CMPXCHG8B, | RSTR_CLTS, RSTR_CMP, RSTR_CMPXCHG, |
| RSTR_CMPXCHG8B2,RSTR_CPUID, | RSTR_CMPXCHG8B, RSTR_CMPXCHG8B2, |
| RSTR_CWD, RSTR_CWDE, | RSTR_CPUID, RSTR_CWD, RSTR_CWDE, |
| RSTR_DAA, RSTR_DAS, | RSTR_DAA, RSTR_DAS, |
| RSTR_DEC, RSTR_DIV, | RSTR_DEC, RSTR_DIV, |
| Line 70 enum { | Line 70 enum { |
| RSTR_SHLD, RSTR_SHRD, RSTR_SIDT, RSTR_SLDT, | RSTR_SHLD, RSTR_SHRD, RSTR_SIDT, RSTR_SLDT, |
| RSTR_SMINT, RSTR_SMSW, RSTR_STC, RSTR_STD, | RSTR_SMINT, RSTR_SMSW, RSTR_STC, RSTR_STD, |
| RSTR_STI, RSTR_STR, RSTR_SUB, RSTR_SVDC, | RSTR_STI, RSTR_STR, RSTR_SUB, RSTR_SVDC, |
| RSTR_SVLDT, RSTR_SVTS, RSTR_SYSCALL, RSTR_SYSENTER, | RSTR_SVLDT, RSTR_SVTS, RSTR_SYSCALL, |
| RSTR_SYSENTER2, RSTR_SYSEXIT, RSTR_SYSRET, | RSTR_SYSENTER, RSTR_SYSENTER2, |
| RSTR_SYSEXIT, RSTR_SYSRET, | |
| RSTR_TEST, | RSTR_TEST, |
| Line 93 enum { | Line 94 enum { |
| RSTR_FABS, RSTR_FADD, RSTR_FADDP, | RSTR_FABS, RSTR_FADD, RSTR_FADDP, |
| RSTR_FBLD, RSTR_FBSTP, | RSTR_FBLD, RSTR_FBSTP, |
| RSTR_FCHS, RSTR_FCMOVB, RSTR_FCMOVBE, RSTR_FCMOVE, | RSTR_FCHS, RSTR_FCMOVB, RSTR_FCMOVBE, RSTR_FCMOVE, |
| RSTR_FCMOVNB, RSTR_FCMOVNBE, RSTR_FCMOVNE, RSTR_FCMOVNU, | RSTR_FCMOVNB, RSTR_FCMOVNBE, RSTR_FCMOVNBE2, |
| RSTR_FCMOVNE, RSTR_FCMOVNU, | |
| RSTR_FCMOVU, RSTR_FCOM, RSTR_FCOMI, RSTR_FCOMIP, | RSTR_FCMOVU, RSTR_FCOM, RSTR_FCOMI, RSTR_FCOMIP, |
| RSTR_FCOMP, RSTR_FCOMPP, RSTR_FCOS, | RSTR_FCOMP, RSTR_FCOMPP, RSTR_FCOS, |
| RSTR_FDECSTP, RSTR_FDIV, RSTR_FDIVP, RSTR_FDIVR, | RSTR_FDECSTP, RSTR_FDIV, RSTR_FDIVP, RSTR_FDIVR, |
| Line 141 typedef struct { | Line 143 typedef struct { |
| } REGSTR; | } REGSTR; |
| static const REGSTR rstr = { | static const REGSTR rstr = { |
| {"ax", "cx", "dx", "bx", "sp", "bp", "si", "di", | {{"ax", "cx", "dx", "bx", "sp", "bp", "si", "di"}, |
| "eax", "ecx", "edx", "ebx", "esp", "ebp", "esi", "edi", | {"eax", "ecx", "edx", "ebx", "esp", "ebp", "esi", "edi"}, |
| "al", "cl", "dl", "bl", "ah", "ch", "dh", "bh", | {"al", "cl", "dl", "bl", "ah", "ch", "dh", "bh"}, |
| "rax", "rcx", "rdx", "rbx", "rsp", "rbp", "rsi", "rdi", | {"rax", "rcx", "rdx", "rbx", "rsp", "rbp", "rsi", "rdi"}, |
| "al", "cl", "dl", "bl", "spl", "bpl", "sil", "dil", | {"al", "cl", "dl", "bl", "spl", "bpl", "sil", "dil"}, |
| "r8w", "r9w", "r10w","r11w","r12w","r13w","r14w","r15w", | {"r8w", "r9w", "r10w","r11w","r12w","r13w","r14w","r15w"}, |
| "r8d", "r9d", "r10d","r11d","r12d","r13d","r14d","r15d", | {"r8d", "r9d", "r10d","r11d","r12d","r13d","r14d","r15d"}, |
| "es", "cs", "ss", "ds", "fs", "gs", "hs", "is", | {"es", "cs", "ss", "ds", "fs", "gs", "hs", "is"}, |
| "r8", "r9", "r10", "r11", "r12", "r13", "r14", "r15", | {"r8", "r9", "r10", "r11", "r12", "r13", "r14", "r15"}, |
| "r8b", "r9b", "r10b","r11b","r12b","r13b","r14b","r15b", | {"r8b", "r9b", "r10b","r11b","r12b","r13b","r14b","r15b"}, |
| "mm0", "mm1", "mm2", "mm3", "mm4", "mm5", "mm6", "mm7"}, | {"mm0", "mm1", "mm2", "mm3", "mm4", "mm5", "mm6", "mm7"}}, |
| {"bx+si", "bx+di", "bp+si", "bp+di", "si", "di", "bp", "bx"}, | {"bx+si", "bx+di", "bp+si", "bp+di", "si", "di", "bp", "bx"}, |
| Line 167 static const REGSTR rstr = { | Line 169 static const REGSTR rstr = { |
| "call", | "call", |
| "cbw", "cdq", | "cbw", "cdq", |
| "clc", "cld", "cli", "cmc", | "clc", "cld", "cli", "cmc", |
| "clts", "cmp", "cmpxchg", "cmpxchg8", | "clts", "cmp", "cmpxchg", "cmpxchg8", "b", |
| "b", "cpuid", | "cpuid", "cwd", "cwde", |
| "cwd", "cwde", | |
| "daa", "das", | "daa", "das", |
| "dec", "div", | "dec", "div", |
| Line 211 static const REGSTR rstr = { | Line 212 static const REGSTR rstr = { |
| "shld", "shrd", "sidt", "sldt", | "shld", "shrd", "sidt", "sldt", |
| "smint", "smsw", "stc", "std", | "smint", "smsw", "stc", "std", |
| "sti", "str", "sub", "svdc", | "sti", "str", "sub", "svdc", |
| "svldt", "svts", "syscall", "sysenter", | "svldt", "svts", "syscall", |
| "", "sysexit", "sysret", | "sysenter", "", |
| "sysexit", "sysret", | |
| "test", | "test", |
| Line 226 static const REGSTR rstr = { | Line 228 static const REGSTR rstr = { |
| "rol", "ror", "rcl", "rcr", | "rol", "ror", "rcl", "rcr", |
| "shl", "shr", "shl", "sar", | "shl", "shr", "shl", "sar", |
| "lock", "repn", "repne", | "lock", "repne", "repe", |
| "cmpsw", "cmpsd", "cmpsb", | "cmpsw", "cmpsd", "cmpsb", |
| "insw", "insd", "insb", | "insw", "insd", "insb", |
| "lodsw", "lodsd", "lodsb", | "lodsw", "lodsd", "lodsb", |
| Line 255 static const REGSTR rstr = { | Line 257 static const REGSTR rstr = { |
| "fabs", "fadd", "faddp", | "fabs", "fadd", "faddp", |
| "bld", "fbstp", | "bld", "fbstp", |
| "fchs", "fcmovb", "fcmovbe", "fcmove", | "fchs", "fcmovb", "fcmovbe", "fcmove", |
| "fcmovnb", "fcmovnbe", "fcmovne", "fcmovnu", | "fcmovnb", "fcmovnbe", "", |
| "fcmovne", "fcmovnu", | |
| "fcmovu", "fcom", "fcomi", "fcomip", | "fcmovu", "fcom", "fcomi", "fcomip", |
| "fcomp", "fcompp", "fcos", | "fcomp", "fcompp", "fcos", |
| "fdecstp", "fdiv", "fdivp", "fdivr", | "fdecstp", "fdiv", "fdivp", "fdivr", |