]> git.unchartedbackwaters.co.uk Git - francis/winuae.git/commitdiff
Fix CALLM disassembly
authorToni Wilen <twilen@winuae.net>
Wed, 11 Jan 2023 18:09:34 +0000 (20:09 +0200)
committerToni Wilen <twilen@winuae.net>
Wed, 11 Jan 2023 18:09:34 +0000 (20:09 +0200)
disasm.cpp

index e5589c468356724b2863804c3069bb481ad6b454..01f8561bc3c98be469bd5355b2de6aacde812cb2 100644 (file)
@@ -2202,8 +2202,8 @@ uae_u32 m68k_disasm_2(TCHAR *buf, int bufsize, uaecptr pc, uae_u16 *bufpc, int b
                } else if (lookup->mnemo == i_CALLM) {
                        TCHAR *p = instrname + _tcslen(instrname);
                        _stprintf(p, _T("#%d,"), extra & 255);
-                       pc = ShowEA(NULL, pc, opcode, dp->sreg, dp->smode, dp->size, instrname, &seaddr2, &actualea_src, safemode);
                        add_disasm_word(&pc, &bufpc, &bufpcsize, 2);
+                       pc = ShowEA(NULL, pc, opcode, dp->sreg, dp->smode, dp->size, instrname, &seaddr2, &actualea_src, safemode);
                } else if (lookup->mnemo == i_FDBcc) {
                        pc = ShowEA(NULL, pc, opcode, dp->dreg, dp->dmode, dp->size, instrname, &seaddr2, &actualea_src, safemode);
                        add_disasm_word(&pc, &bufpc, &bufpcsize, 2);