X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=OpMove.cpp;h=338dab1813578eb03ff84bdc60b649a64a7ead47;hb=fd7e3e40f6a25dd5b5a2ad60a82b9b0af72139a2;hp=44842ee86871dea8c4f0ccbfa2e240b63ad5f596;hpb=ba3db9e7f6f8d2be5a5170dbac3f12c789306970;p=cyclone68000.git diff --git a/OpMove.cpp b/OpMove.cpp index 44842ee..338dab1 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(); ot(";@ r4=Register Index*4:\n"); if (decr) ot(" mov r4,#0x40 ;@ order reversed for -(An)\n");