Changeset 1340

Show
Ignore:
Timestamp:
07/30/07 18:52:28 (1 year ago)
Author:
common
Message:

libemu

  • instr pop: track registers before POP_ as POP_ can return in case of memoryreaderror
Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • libemu/trunk/src/functions/pop.c

    r1317 r1340  
    8080                 * POP r16  
    8181                 */ 
     82                TRACK_INIT_REG16(c->instr, i->opc & 7); 
    8283                POP_WORD(c, c->reg16[i->opc & 7 ]); 
    83                 TRACK_INIT_REG16(c->instr, i->opc & 7); 
    8484        }else 
    8585        { 
     
    8888                 * POP r32  
    8989                 */ 
     90                TRACK_INIT_REG32(c->instr, i->opc & 7); 
    9091                POP_DWORD(c, &c->reg[i->opc & 7]); 
    91                 TRACK_INIT_REG32(c->instr, i->opc & 7); 
    9292        } 
    9393        return 0;