--- np2/i286x/i286x.cpp 2005/03/25 14:57:56 1.27 +++ np2/i286x/i286x.cpp 2005/04/04 11:50:59 1.28 @@ -329,6 +329,12 @@ LABEL void i286x_step(void) { mov ebx, dword ptr (i286core.s.prefetchque) movzx esi, I286_IP +#if defined(ENABLE_TRAP) + mov edx, esi + movzx ecx, I286_CS + call steptrap +#endif + movzx eax, bl call i286op[eax*4]