|
|
| version 1.19, 2004/06/17 14:38:38 | version 1.21, 2005/02/04 05:32:24 |
|---|---|
| Line 100 exec_1step(void) | Line 100 exec_1step(void) |
| CPU_STATSAVE.cpu_inst = CPU_STATSAVE.cpu_inst_default; | CPU_STATSAVE.cpu_inst = CPU_STATSAVE.cpu_inst_default; |
| #if defined(TRACE) && IPTRACE | #if defined(TRACE) && IPTRACE |
| if (CPU_CS == 0x000c) { | |
| trcs[trpos & (IPTRACE - 1)] = CPU_CS; | trcs[trpos & (IPTRACE - 1)] = CPU_CS; |
| treip[trpos & (IPTRACE - 1)] = CPU_EIP; | treip[trpos & (IPTRACE - 1)] = CPU_EIP; |
| trpos++; | trpos++; |
| } | |
| #endif | #endif |
| #if defined(IA32_INSTRUCTION_TRACE) | #if defined(IA32_INSTRUCTION_TRACE) |
| Line 218 exec_1step(void) | Line 220 exec_1step(void) |
| /* repe */ | /* repe */ |
| for (;;) { | for (;;) { |
| (*insttable_1byte[CPU_INST_OP32][op])(); | (*insttable_1byte[CPU_INST_OP32][op])(); |
| if (--CPU_CX == 0 || !(CPU_FLAGL & Z_FLAG)) | if (--CPU_CX == 0 || CC_NZ) |
| break; | break; |
| if (CPU_REMCLOCK <= 0) { | if (CPU_REMCLOCK <= 0) { |
| CPU_EIP = CPU_PREV_EIP; | CPU_EIP = CPU_PREV_EIP; |
| Line 229 exec_1step(void) | Line 231 exec_1step(void) |
| /* repne */ | /* repne */ |
| for (;;) { | for (;;) { |
| (*insttable_1byte[CPU_INST_OP32][op])(); | (*insttable_1byte[CPU_INST_OP32][op])(); |
| if (--CPU_CX == 0 || (CPU_FLAGL & Z_FLAG)) | if (--CPU_CX == 0 || CC_Z) |
| break; | break; |
| if (CPU_REMCLOCK <= 0) { | if (CPU_REMCLOCK <= 0) { |
| CPU_EIP = CPU_PREV_EIP; | CPU_EIP = CPU_PREV_EIP; |
| Line 255 exec_1step(void) | Line 257 exec_1step(void) |
| /* repe */ | /* repe */ |
| for (;;) { | for (;;) { |
| (*insttable_1byte[CPU_INST_OP32][op])(); | (*insttable_1byte[CPU_INST_OP32][op])(); |
| if (--CPU_ECX == 0 || !(CPU_FLAGL & Z_FLAG)) | if (--CPU_ECX == 0 || CC_NZ) |
| break; | break; |
| if (CPU_REMCLOCK <= 0) { | if (CPU_REMCLOCK <= 0) { |
| CPU_EIP = CPU_PREV_EIP; | CPU_EIP = CPU_PREV_EIP; |
| Line 266 exec_1step(void) | Line 268 exec_1step(void) |
| /* repne */ | /* repne */ |
| for (;;) { | for (;;) { |
| (*insttable_1byte[CPU_INST_OP32][op])(); | (*insttable_1byte[CPU_INST_OP32][op])(); |
| if (--CPU_ECX == 0 || (CPU_FLAGL & Z_FLAG)) | if (--CPU_ECX == 0 || CC_Z) |
| break; | break; |
| if (CPU_REMCLOCK <= 0) { | if (CPU_REMCLOCK <= 0) { |
| CPU_EIP = CPU_PREV_EIP; | CPU_EIP = CPU_PREV_EIP; |