Diff for /np2/i386c/ia32/resolve.h between versions 1.1 and 1.3

version 1.1, 2003/12/08 00:55:31 version 1.3, 2004/02/05 16:43:44
Line 36  extern "C" { Line 36  extern "C" {
   
 void resolve_init(void);  void resolve_init(void);
   
   #if defined(DEBUG) || !defined(IA32_INLINE_CALC_EA)
 DWORD calc_ea_dst(DWORD);  DWORD calc_ea_dst(DWORD);
 #define calc_lea(op)    calc_ea_dst(op)  #else
 #define get_ea(op)      calc_ea_dst(op)  DWORD (*calc_ea_dst_tbl[0x100])(void);
 #define get_lea(op)     calc_ea_dst(op)  DWORD (*calc_ea32_dst_tbl[0x100])(void);
   
   INLINE static DWORD
   calc_ea_dst(DWORD op)
   {
   
           __ASSERT(op < 0x100);
   
           if (!CPU_INST_AS32)
                   return ((*calc_ea_dst_tbl[op])() & 0xffff);
           return (*calc_ea32_dst_tbl[op])();
   }
   #endif
   
 #ifdef __cplusplus  #ifdef __cplusplus
 }  }

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


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