diff m68k_util.c @ 2594:1c493b8c513b

Fix some rotate instruction issues in new 68K core
author Michael Pavone <pavone@retrodev.com>
date Sun, 09 Feb 2025 18:07:40 -0800
parents e602dbf776d8
children c5314c0779c2
line wrap: on
line diff
--- a/m68k_util.c	Sun Feb 09 16:55:00 2025 -0800
+++ b/m68k_util.c	Sun Feb 09 18:07:40 2025 -0800
@@ -27,7 +27,7 @@
 		m68k_decode(debug_disasm_fetch, context, &inst, tmp);
 		static char disasm_buf[256];
 		m68k_disasm(&inst, disasm_buf);
-		printf("Fetch %05X: %04X - %s, d2 = %X, d3 = %X, d4 = %X, d6 = %X, xflag = %d\n", tmp, context->scratch1, disasm_buf, context->dregs[2], context->dregs[3], context->dregs[4], context->dregs[6], context->xflag);
+		printf("Fetch %05X: %04X - %s, d0=%X, d2=%X, d3=%X, d4=%X, d6=%X, xflag=%d\n", tmp, context->scratch1, disasm_buf, context->dregs[0], context->dregs[2], context->dregs[3], context->dregs[4], context->dregs[6], context->xflag);
 	}
 #endif
 }