]> Shamusworld >> Repos - rmac/commitdiff
Fix for last broken commit. Sorry about that!
authorShamus Hammons <jlhamm@acm.org>
Tue, 5 Mar 2013 17:59:07 +0000 (11:59 -0600)
committerShamus Hammons <jlhamm@acm.org>
Tue, 5 Mar 2013 17:59:07 +0000 (11:59 -0600)
.gitignore
debug.c
mach.c

index 430317f17a010af79a6882dd059cecbc21e253c1..3c3942e623ff5715de138dfb90c4ecf90bbb13b2 100644 (file)
@@ -8,3 +8,6 @@ mntab.h
 risckw.h
 rmac
 kwgen
+bugs.txt
+bugs/
+bugs2/
\ No newline at end of file
diff --git a/debug.c b/debug.c
index 1930ec8c8fd4b4d51295d1f0b3c892230ce2e3f3..cb12e3da0f1c4b19af72b4f0d45c10ab09fa0add 100644 (file)
--- a/debug.c
+++ b/debug.c
@@ -152,11 +152,8 @@ int mudump(void)
 
        for(mch=firstmch; mch!=NULL; mch=mch->mcnext)
        {
-               printf("mch=$%08X mcptr=$%08X mcalloc=$%X mcused=$%X\n",
-                       (uint32_t)mch,
-                       (mch->mcptr.lw),
-                       mch->mcalloc,
-                       (mch->mcused));
+               printf("mch=$%p mcptr=$%08X mcalloc=$%X mcused=$%X\n",
+                       mch, (mch->mcptr.lw), mch->mcalloc, (mch->mcused));
 
                p = mch->mcptr;
                
diff --git a/mach.c b/mach.c
index a108f4440ce21cd68616696bfdd5fe0756e4ba26..e0640e554a6bdcbd2a1bf2772535fef15e8bf5e7 100644 (file)
--- a/mach.c
+++ b/mach.c
@@ -516,7 +516,7 @@ int m_movep(WORD inst, WORD siz)
                D_word(inst);
 
                if (am1 == AIND)
-                       D_word(0);
+                       D_word(0)
                else 
                        ea1gen(siz);
        }
@@ -526,7 +526,7 @@ int m_movep(WORD inst, WORD siz)
                D_word(inst);
 
                if (am0 == AIND)
-                       D_word(0);
+                       D_word(0)
                else 
                        ea0gen(siz);
        }