--- xmil/z80x/z80x_if.x86 2004/08/01 05:31:32 1.1 +++ xmil/z80x/z80x_if.x86 2004/08/08 17:45:52 1.4 @@ -77,7 +77,7 @@ int_im0: cmp cl, 0ddh movzx eax, cl mov edi, edx movzx edx, byte [_cycles_main + eax] - Z80WORK dx + Z80WORK edx call dword [opcode_main + eax*4] pop edi pop ebx @@ -109,15 +109,17 @@ _z80x_execute: push ebx inc word [edi + R_Z80PC] call memfetch movzx edx, byte [_cycles_main + eax] - Z80WORK dx + Z80WORK edx call dword [opcode_main + eax*4] +%if 1 inc byte [edi + R_Z80R] movzx ecx, word [edi + R_Z80PC] inc word [edi + R_Z80PC] call memfetch movzx edx, byte [_cycles_main + eax] - Z80WORK dx + Z80WORK edx call dword [opcode_main + eax*4] +%endif pop edi pop ebx ret