--- np2/i286x/i286x.cpp 2005/03/03 06:59:41 1.25 +++ 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] @@ -3453,7 +3459,7 @@ I286 mov_ea8_data8(void) { // C6: m bt bp, 2 rcl ebp, 1 and ebp, 7 - GET_NEXTPRE2 + GET_NEXTPRE3 mov byte ptr I286_REG[ebp], dh ret align 16 @@ -3509,7 +3515,7 @@ I286 _enter(void) { // C8: enter je enter0 dec eax je enter1 - lea ecx, [eax*4 + 12] + lea ecx, [eax*4 + 12 + 4] I286CLOCK(ecx) push ebx movzx ebx, I286_BP