made arg_error dependent on DEBUG; fixed cmp instruction in as_table
authorceriel <none@none>
Tue, 7 Feb 1989 11:42:28 +0000 (11:42 +0000)
committerceriel <none@none>
Tue, 7 Feb 1989 11:42:28 +0000 (11:42 +0000)
mach/i86/ce/as_table
mach/i86/ce/mach.c
mach/i86/ce/mach.h

index dbc400c..251422d 100644 (file)
@@ -36,6 +36,10 @@ cmp dst:REG, src:EADDR       ==>     @text1( 0x3b);
 ... dst:ACCU, src:DATA ==>     @text1( 0x3d);
                                @text2( %$(src->expr)).
 
+... dst:EADDR, src:DATA        ==>     @text1( 0x81);
+                               mod_RM(7,dst);
+                               @text2( %$(src->expr)).
+
 cwd                    ==>     @text1( 0x99).
 
 dec dst:REG            ==>     R53( 9, dst->reg).
index a607b4f..f34b673 100644 (file)
@@ -3,12 +3,14 @@
 #include "back.h"
 #include "mach.h"
 
+#ifdef DEBUG
 arg_error( s, arg)
 char *s;
 int arg;
 {
        fprint( STDERR, "arg_error %s %d\n", s, arg);
 }
+#endif
 
 int push_waiting = FALSE;
 
index 944b262..5860f68 100644 (file)
@@ -24,3 +24,7 @@
 #define clean_push_buf()       if(push_waiting){text1(0x50);push_waiting=FALSE;}
 #define assign( l, r)          l = r
 extern int push_waiting;
+
+#ifndef DEBUG
+#define arg_error(s,i)
+#endif