X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=cpu%2FCyclone%2FOpMove.cpp;h=b0916ea6a6659dec9a6db54361fb79bc9e4c39e2;hb=60305cdd4d832c9a0b69914a78d4668a1b4d2b48;hp=1d7165bab1471cc1f25a5ffa1891cb2699755de7;hpb=1c88b865ceb1e1801bcf20010088fd62cdf2cc06;p=picodrive.git diff --git a/cpu/Cyclone/OpMove.cpp b/cpu/Cyclone/OpMove.cpp index 1d7165ba..b0916ea6 100644 --- a/cpu/Cyclone/OpMove.cpp +++ b/cpu/Cyclone/OpMove.cpp @@ -133,19 +133,19 @@ int OpMove(int op) if (movea) size=2; // movea always expands to 32-bits #if SPLIT_MOVEL_PD - EaCalc (10,0x0e00,tea,size,0,0); if ((tea&0x38)==0x20 && size==2) { // -(An) + EaCalc (10,0x0e00,tea,size,0,0); ot(" mov r11,r1\n"); ot(" add r0,r10,#2\n"); EaWrite(0, 1,tea,1,0x0e00,0,0); EaWrite(10, 11,tea,1,0x0e00,1); - } else { - EaWrite(0, 1,tea,size,0x0e00,0,0); } -#else - EaCalc (0,0x0e00,tea,size,0,0); - EaWrite(0, 1,tea,size,0x0e00,0,0); + else #endif + { + EaCalc (0,0x0e00,tea,size,0,0); + EaWrite(0, 1,tea,size,0x0e00,0,0); + } #if CYCLONE_FOR_GENESIS && !MEMHANDLERS_CHANGE_CYCLES // this is a bit hacky