Diff for /np2/i386c/ia32/cpu.c between versions 1.1 and 1.11

version 1.1, 2003/12/08 00:55:31 version 1.11, 2004/02/13 14:52:35
Line 33 Line 33
   
 #include "inst_table.h"  #include "inst_table.h"
   
 jmp_buf exec_1step_jmpbuf;  
   sigjmp_buf exec_1step_jmpbuf;
   
 void  void
 exec_1step(void)  exec_1step(void)
 {  {
           int prefix;
         BYTE op;          BYTE op;
   
         CPU_PREV_EIP = CPU_EIP;          CPU_PREV_EIP = CPU_EIP;
           CPU_STATSAVE.cpu_inst = CPU_STATSAVE.cpu_inst_default;
   
         cpu_inst = cpu_inst_default;          for (prefix = 0; prefix < MAX_PREFIX; prefix++) {
   
         for (;;) {  
                 GET_PCBYTE(op);                  GET_PCBYTE(op);
   
                 /* prefix */                  /* prefix */
Line 54  exec_1step(void) Line 55  exec_1step(void)
                 }                  }
                 break;                  break;
         }          }
           if (prefix == MAX_PREFIX) {
                   EXCEPTION(UD_EXCEPTION, 0);
           }
   
         /* normal / rep, but not use */          /* normal / rep, but not use */
         if (!(insttable_info[op] & INST_STRING) || !CPU_INST_REPUSE) {          if (!(insttable_info[op] & INST_STRING) || !CPU_INST_REPUSE) {

Removed from v.1.1  
changed lines
  Added in v.1.11


RetroPC.NET-CVS <cvs@retropc.net>