|
|
| version 1.1, 2003/12/08 00:55:31 | version 1.5, 2004/03/23 15:29:34 |
|---|---|
| Line 36 extern "C" { | Line 36 extern "C" { |
| void resolve_init(void); | void resolve_init(void); |
| DWORD calc_ea_dst(DWORD); | INLINE static 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 |
| } | } |