|
|
| version 1.8, 2004/01/23 16:32:36 | version 1.10, 2004/02/05 16:43:44 |
|---|---|
| Line 66 static const char *opcode_1byte[2][256] | Line 66 static const char *opcode_1byte[2][256] |
| /*b0*/ "movb", "movb", "movb", "movb", "movb", "movb", "movb", "movb", | /*b0*/ "movb", "movb", "movb", "movb", "movb", "movb", "movb", "movb", |
| "movw", "movw", "movw", "movw", "movw", "movw", "movw", "movw", | "movw", "movw", "movw", "movw", "movw", "movw", "movw", "movw", |
| /*c0*/ NULL, NULL, "ret", "ret", "les", "lds", "movb", "movw", | /*c0*/ NULL, NULL, "ret", "ret", "les", "lds", "movb", "movw", |
| "enter", "leave", "retf", "retf", "int3", "int", "into", "iret", | "enter", "leave", "ret", "ret", "int3", "int", "into", "iret", |
| /*d0*/ NULL, NULL, NULL, NULL, "aam", "aad", "salc", "xlat", | /*d0*/ NULL, NULL, NULL, NULL, "aam", "aad", "salc", "xlat", |
| "esc0", "esc1", "esc2", "esc3", "esc4", "esc5", "esc6", "esc7", | "esc0", "esc1", "esc2", "esc3", "esc4", "esc5", "esc6", "esc7", |
| /*e0*/ "loopne","loope", "loop", "jcxz", "inb", "inw", "outb", "outw", | /*e0*/ "loopne","loope", "loop", "jcxz", "inb", "inw", "outb", "outw", |
| Line 101 static const char *opcode_1byte[2][256] | Line 101 static const char *opcode_1byte[2][256] |
| /*b0*/ "movb", "movb", "movb", "movb", "movb", "movb", "movb", "movb", | /*b0*/ "movb", "movb", "movb", "movb", "movb", "movb", "movb", "movb", |
| "movl", "movl", "movl", "movl", "movl", "movl", "movl", "movl", | "movl", "movl", "movl", "movl", "movl", "movl", "movl", "movl", |
| /*c0*/ NULL, NULL, "ret", "ret", "les", "lds", "movb", "movl", | /*c0*/ NULL, NULL, "ret", "ret", "les", "lds", "movb", "movl", |
| "enter", "leave", "retfd", "retfd", "int3", "int", "into", "iretd", | "enter", "leave", "ret", "ret", "int3", "int", "into", "iretd", |
| /*d0*/ NULL, NULL, NULL, NULL, "aam", "aad", "salc", "xlat", | /*d0*/ NULL, NULL, NULL, NULL, "aam", "aad", "salc", "xlat", |
| "esc0", "esc1", "esc2", "esc3", "esc4", "esc5", "esc6", "esc7", | "esc0", "esc1", "esc2", "esc3", "esc4", "esc5", "esc6", "esc7", |
| /*e0*/ "loopne","loope", "loop", "jecxz", "inb", "inl", "outb", "outl", | /*e0*/ "loopne","loope", "loop", "jecxz", "inb", "inl", "outb", "outl", |
| Line 365 ea(DWORD eip, DWORD op) | Line 365 ea(DWORD eip, DWORD op) |
| int n; | int n; |
| int i; | int i; |
| ZeroMemory(count, sizeof(count)); | memset(count, 0, sizeof(count)); |
| if (rm == 5) { | if (rm == 5) { |
| DWORD sib; | DWORD sib; |
| Line 596 exec_1step(void) | Line 596 exec_1step(void) |
| case 0xcd: | case 0xcd: |
| op2 = cpu_codefetch(eip); | op2 = cpu_codefetch(eip); |
| eip++; | eip++; |
| fprintf(fp, "%02xh", op2); | fprintf(fp, "0x%02x", op2); |
| break; | |
| case 0xe4: case 0xe5: case 0xe6: case 0xe7: | |
| op2 = cpu_codefetch(eip); | |
| eip++; | |
| fprintf(fp, "0x%02x", op2); | |
| break; | break; |
| } | } |
| fprintf(fp, "\n"); | fprintf(fp, "\n"); |