X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=cyclone68000.git;a=blobdiff_plain;f=OpMove.cpp;h=8022da16597c6bf788ee13dabdd75597cd69641f;hp=44842ee86871dea8c4f0ccbfa2e240b63ad5f596;hb=HEAD;hpb=ba3db9e7f6f8d2be5a5170dbac3f12c789306970 diff --git a/OpMove.cpp b/OpMove.cpp index 44842ee..8022da1 100644 --- a/OpMove.cpp +++ b/OpMove.cpp @@ -405,10 +405,8 @@ int OpMovem(int op) ot(";@ Get the address into r6:\n"); EaCalc(6,0x003f,cea,size); -#if !MEMHANDLERS_NEED_PREV_PC // must save PC, need a spare register - ot(" str r4,[r7,#0x40] ;@ Save PC\n"); -#endif + FlushPC(1); ot(";@ r4=Register Index*4:\n"); if (decr) ot(" mov r4,#0x40 ;@ order reversed for -(An)\n"); @@ -436,14 +434,14 @@ int OpMovem(int op) if (dir) { - ot(" ;@ Copy memory to register:\n",1<