Previous 15994 Revisions Next

r9476 Sunday 31st October, 2010 at 04:01:13 UTC by Wilbert Pol
i86: Fixed bound instruction restart when prefixed with a segment.
[src/emu/cpu/i86]instr186.c

src/emu/cpu/i86/instr186.c
r9475r9476
4949    int high= (INT16)GetnextRMWord;
5050   int tmp= (INT16)RegWord(ModRM);
5151   if (tmp<low || tmp>high) {
52      cpustate->pc-=2;
52      cpustate->pc-= ( cpustate->seg_prefix ? 3 : 2 );
5353      PREFIX86(_interrupt)(cpustate, 5);
5454   }
5555   ICOUNT -= timing.bound;

Previous 15994 Revisions Next


© 1998-2018 The MESS Team