| 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 |
| r9475 | r9476 | |
|---|---|---|
| 49 | 49 | int high= (INT16)GetnextRMWord; |
| 50 | 50 | int tmp= (INT16)RegWord(ModRM); |
| 51 | 51 | if (tmp<low || tmp>high) { |
| 52 | cpustate->pc-=2; | |
| 52 | cpustate->pc-= ( cpustate->seg_prefix ? 3 : 2 ); | |
| 53 | 53 | PREFIX86(_interrupt)(cpustate, 5); |
| 54 | 54 | } |
| 55 | 55 | ICOUNT -= timing.bound; |
| Previous | 15994 Revisions | Next |