produce commons for newlbss

This commit is contained in:
ceriel 1991-03-18 15:06:01 +00:00
parent 95967a04e4
commit 22378eaff8
7 changed files with 7 additions and 7 deletions

View file

@ -10,7 +10,7 @@
#define newilb(x) fprintf(codefile,"%s:\n",x) #define newilb(x) fprintf(codefile,"%s:\n",x)
#define newdlb(x) fprintf(codefile,"%s:\n",x) #define newdlb(x) fprintf(codefile,"%s:\n",x)
#define dlbdlb(x,y) fprintf(codefile,"%s = %s\n",x,y) #define dlbdlb(x,y) fprintf(codefile,"%s = %s\n",x,y)
#define newlbss(l,x) fprintf(codefile,"%s: .space\t%d\n",l,x); #define newlbss(l,x) fprintf(codefile,".comm %s,%u\n",l,x);
#define cst_fmt "%d" #define cst_fmt "%d"
#define off_fmt "%d" #define off_fmt "%d"

View file

@ -9,7 +9,7 @@
#define newilb(x) fprintf(codefile,"%s:\n",x) #define newilb(x) fprintf(codefile,"%s:\n",x)
#define newdlb(x) fprintf(codefile,"%s:\n",x) #define newdlb(x) fprintf(codefile,"%s:\n",x)
#define dlbdlb(x,y) fprintf(codefile,"%s = %s\n",x,y) #define dlbdlb(x,y) fprintf(codefile,"%s = %s\n",x,y)
#define newlbss(l,x) fprintf(codefile,"%s:.space\t%d\n",l,x); #define newlbss(l,x) fprintf(codefile,".comm %s,%u\n",l,x);
#define cst_fmt "%d" #define cst_fmt "%d"
#define off_fmt "%d" #define off_fmt "%d"

View file

@ -9,7 +9,7 @@
#define newilb(x) fprintf(codefile,"%s:\n",x) #define newilb(x) fprintf(codefile,"%s:\n",x)
#define newdlb(x) fprintf(codefile,"%s:\n",x) #define newdlb(x) fprintf(codefile,"%s:\n",x)
#define dlbdlb(x,y) fprintf(codefile,"%s = %s\n",x,y) #define dlbdlb(x,y) fprintf(codefile,"%s = %s\n",x,y)
#define newlbss(l,x) fprintf(codefile,"%s:.space\t%ld\n",l,x); #define newlbss(l,x) fprintf(codefile,".comm %s,%ld\n",l,x);
#define pop_fmt "(sp)+" #define pop_fmt "(sp)+"
#define cst_fmt "%ld" #define cst_fmt "%ld"

View file

@ -23,7 +23,7 @@
#define newilb(x) fprintf(codefile,"%s:\n",x) #define newilb(x) fprintf(codefile,"%s:\n",x)
#define newdlb(x) fprintf(codefile,"%s:\n",x) #define newdlb(x) fprintf(codefile,"%s:\n",x)
#ifdef ACK_ASS #ifdef ACK_ASS
#define newlbss(l,x) fprintf(codefile,"%s:.space 0%o\n",l,x); #define newlbss(l,x) fprintf(codefile,".comm %s,%u\n",l,x);
#else #else
#define newlbss(l,x) fprintf(codefile,"%s:.=.+0%o\n",l,x); #define newlbss(l,x) fprintf(codefile,"%s:.=.+0%o\n",l,x);
#endif #endif

View file

@ -23,7 +23,7 @@
#define newilb(x) fprintf(codefile,"%s:\n",x) #define newilb(x) fprintf(codefile,"%s:\n",x)
#define newdlb(x) fprintf(codefile,"%s:\n",x) #define newdlb(x) fprintf(codefile,"%s:\n",x)
#ifdef ACK_ASS #ifdef ACK_ASS
#define newlbss(l,x) fprintf(codefile,"%s:.space 0%o\n",l,x); #define newlbss(l,x) fprintf(codefile,".comm %s,%u\n",l,x);
#else #else
#define newlbss(l,x) fprintf(codefile,"%s:.=.+0%o\n",l,x); #define newlbss(l,x) fprintf(codefile,"%s:.=.+0%o\n",l,x);
#endif #endif

View file

@ -12,7 +12,7 @@
#define newilb(x) fprintf(codefile,"%s:\n",x) #define newilb(x) fprintf(codefile,"%s:\n",x)
#define newdlb(x) fprintf(codefile,"%s:\n",x) #define newdlb(x) fprintf(codefile,"%s:\n",x)
#define dlbdlb(x,y) fprintf(codefile,"%s = %s\n",x,y) #define dlbdlb(x,y) fprintf(codefile,"%s = %s\n",x,y)
#define newlbss(l,x) fprintf(codefile,"%s:.space\t%d\n",l,x); #define newlbss(l,x) fprintf(codefile,".comm %s,%u\n",l,x);
#define cst_fmt "%d" #define cst_fmt "%d"
#define off_fmt "%d" #define off_fmt "%d"

View file

@ -9,7 +9,7 @@
#define newilb(x) fprintf(codefile,"%s:\n",x) #define newilb(x) fprintf(codefile,"%s:\n",x)
#define newdlb(x) fprintf(codefile,"%s:\n",x) #define newdlb(x) fprintf(codefile,"%s:\n",x)
#define dlbdlb(x,y) fprintf(codefile,"%s = %s\n",x,y) #define dlbdlb(x,y) fprintf(codefile,"%s = %s\n",x,y)
#define newlbss(l,x) fprintf(codefile,"%s:\t.space %d\n",l,x); #define newlbss(l,x) fprintf(codefile,".comm %s,%u\n",l,x);
#define cst_fmt "%d" #define cst_fmt "%d"
#define off_fmt "%d" #define off_fmt "%d"