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

version 1.1, 2003/12/08 00:55:31 version 1.7, 2008/03/22 04:03:07
Line 12 Line 12
  * 2. Redistributions in binary form must reproduce the above copyright   * 2. Redistributions in binary form must reproduce the above copyright
  *    notice, this list of conditions and the following disclaimer in the   *    notice, this list of conditions and the following disclaimer in the
  *    documentation and/or other materials provided with the distribution.   *    documentation and/or other materials provided with the distribution.
  * 3. The name of the author may not be used to endorse or promote products  
  *    derived from this software without specific prior written permission.  
  *   *
  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR   * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
  * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES   * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
Line 36  extern "C" { Line 34  extern "C" {
   
 void resolve_init(void);  void resolve_init(void);
   
 DWORD calc_ea_dst(DWORD);  static INLINE UINT32
 #define calc_lea(op)    calc_ea_dst(op)  calc_ea_dst(UINT32 op)
 #define get_ea(op)      calc_ea_dst(op)  {
 #define get_lea(op)     calc_ea_dst(op)          extern UINT32 (*calc_ea_dst_tbl[0x100])(void);
           extern UINT32 (*calc_ea32_dst_tbl[0x100])(void);
   
           __ASSERT(op < 0x100);
   
           if (!CPU_INST_AS32)
                   return ((*calc_ea_dst_tbl[op])() & 0xffff);
           return (*calc_ea32_dst_tbl[op])();
   }
   
 #ifdef __cplusplus  #ifdef __cplusplus
 }  }

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


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