Browse Source

"word" is now always a "long"

ceriel 37 years ago
parent
commit
af7b083fd8
2 changed files with 4 additions and 4 deletions
  1. 3 3
      mach/pdp/cg/mach.h
  2. 1 1
      mach/pdp/cg/table

+ 3 - 3
mach/pdp/cg/mach.h

@@ -34,14 +34,14 @@
 #define dlb_fmt		"_%d"
 #define	hol_fmt		"hol%d"
 
-#define hol_off		"0%o+hol%d"
+#define hol_off		"0%lo+hol%d"
 
 #ifdef ACK_ASS
-#define con_cst(x)	fprintf(codefile,".data2 0%o\n",x)
+#define con_cst(x)	fprintf(codefile,".data2 0%lo\n",x)
 #define con_ilb(x)	fprintf(codefile,".data2 %s\n",x)
 #define con_dlb(x)	fprintf(codefile,".data2 %s\n",x)
 #else
-#define con_cst(x)	fprintf(codefile,"0%o\n",x)
+#define con_cst(x)	fprintf(codefile,"0%lo\n",x)
 #define con_ilb(x)	fprintf(codefile,"%s\n",x)
 #define con_dlb(x)	fprintf(codefile,"%s\n",x)
 #endif

+ 1 - 1
mach/pdp/cg/table

@@ -56,7 +56,7 @@ EM_PSIZE=2
 EM_BSIZE=SL
 
 TIMEFACTOR= 1/300
-FORMAT="0%o"
+FORMAT="0%lo"
 
 REGISTERS:
 r0      = ("r0", 2), REG.