]> git.unchartedbackwaters.co.uk Git - francis/winuae.git/commitdiff
Fix debugger assembler MOVEM
authorToni Wilen <twilen@winuae.net>
Sat, 4 Jan 2025 11:09:10 +0000 (13:09 +0200)
committerToni Wilen <twilen@winuae.net>
Sat, 4 Jan 2025 11:09:10 +0000 (13:09 +0200)
disasm.cpp

index b8da7506f4762ed2593792a4b9439df07cc8741a..dbbbaf1b80b6efe556d7c239d03c2379e46b21c4 100644 (file)
@@ -1476,11 +1476,8 @@ int m68k_asm(TCHAR *sline, uae_u16 *out, uaecptr pc)
        } else if (!_tcscmp(ins, _T("BSR"))) {
                immrelpc = true;
        } else if (!_tcscmp(ins, _T("MOVEM"))) {
-               if (dmode >= Aind && _tcschr(dstea, '-') == NULL && _tcschr(dstea, '/') == NULL) {
-                       _tcscpy(ins, _T("MVMLE"));
-                       if (!m68k_asm_parse_movem(srcea, dmode == Apdi))
-                               return -1;
-               } else {
+               _tcscpy(ins, _T("MVMLE"));
+               if (!m68k_asm_parse_movem(srcea, dmode == Apdi)) {
                        TCHAR tmp[256];
                        _tcscpy(ins, _T("MVMEL"));
                        _tcscpy(tmp, srcea);