Previous 15994 Revisions Next

r2923 Tuesday 1st July, 2008 at 18:17:13 UTC by Wilbert Pol
[I80286] Fixed POP ES in protected mode.
[src/emu/cpu/i86]instr86.c

src/emu/cpu/i86/instr86.c
r2922r2923
662662
663663static void PREFIX86(_pop_es)(void)    /* Opcode 0x07 */
664664{
665#ifdef I80286
666   UINT16 tmp;
667   POP(tmp);
668   i80286_data_descriptor(ES,tmp);
669#else
665670   POP(I.sregs[ES]);
666671   I.base[ES] = SegBase(ES);
672#endif
667673   ICOUNT -= cycles.pop_seg;
668674}
669675

Previous 15994 Revisions Next


© 1998-2018 The MESS Team