Search
lxdream.org :: lxdream/src/sh4/sh4x86.in :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/sh4/sh4x86.in
changeset 824:016cda9d0518
prev800:0d1be79c9b33
next872:a3041742bb7d
author nkeynes
date Sun Aug 24 01:43:17 2008 +0000 (11 years ago)
permissions -rw-r--r--
last change Correct generated UNDEF() => UNDEF(ir) for consistency with UNIMP(ir)
file annotate diff log raw
1.1 --- a/src/sh4/sh4x86.in Mon Aug 04 06:00:11 2008 +0000
1.2 +++ b/src/sh4/sh4x86.in Sun Aug 24 01:43:17 2008 +0000
1.3 @@ -270,7 +270,7 @@
1.4 TEST_imm32_r32( 0x00000007, x86reg ); \
1.5 JNE_exc(EXC_DATA_ADDR_WRITE);
1.6
1.7 -#define UNDEF()
1.8 +#define UNDEF(ir)
1.9 #define MEM_RESULT(value_reg) if(value_reg != R_EAX) { MOV_r32_r32(R_EAX,value_reg); }
1.10 #define MEM_READ_BYTE( addr_reg, value_reg ) call_func1(sh4_read_byte, addr_reg ); MEM_RESULT(value_reg)
1.11 #define MEM_READ_WORD( addr_reg, value_reg ) call_func1(sh4_read_word, addr_reg ); MEM_RESULT(value_reg)
.