1987-03-09 19:15:41 +00:00
|
|
|
/*
|
|
|
|
* (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
|
|
|
|
* See the copyright notice in the ACK home directory, in the file "Copyright".
|
|
|
|
*/
|
1984-10-09 10:36:29 +00:00
|
|
|
/* $Header$ */
|
|
|
|
#define ex_ap(x) fprintf(codefile,".globl\t%s\n",x)
|
|
|
|
#define in_ap(x) /* nothing */
|
|
|
|
|
|
|
|
#define newilb(x) fprintf(codefile,"%s:\n",x)
|
|
|
|
#define newdlb(x) fprintf(codefile,"%s:\n",x)
|
1985-01-18 15:36:51 +00:00
|
|
|
#define newplb(x) fprintf(codefile,".align 1\n%s:\n",x)
|
1988-08-22 10:54:03 +00:00
|
|
|
#define dlbdlb(s1,s2) fprintf(codefile,".data\n%s:\n",s1)
|
1985-01-21 16:40:02 +00:00
|
|
|
#define newlbss(l,x) fprintf(codefile,".lcomm\t%s,%d\n",l,x);
|
1984-10-09 10:36:29 +00:00
|
|
|
|
1985-01-21 16:40:02 +00:00
|
|
|
#define cst_fmt "%ld"
|
1984-10-09 10:36:29 +00:00
|
|
|
#define off_fmt "%ld"
|
1985-01-18 15:36:51 +00:00
|
|
|
#define ilb_fmt "L%xL%x"
|
1984-10-09 10:36:29 +00:00
|
|
|
#define dlb_fmt "_%d"
|
|
|
|
#define hol_fmt "hol%d"
|
|
|
|
|
1985-01-18 15:36:51 +00:00
|
|
|
#define fmt_id(fr,to) sprintf(to,"_%s",fr)
|
|
|
|
|
1984-10-09 10:36:29 +00:00
|
|
|
#define hol_off "%ld+hol%d"
|
|
|
|
|
|
|
|
#define con_cst(w) fprintf(codefile,".long\t%ld\n",w)
|
|
|
|
#define con_ilb(x) fprintf(codefile,".long\t%s\n",x)
|
|
|
|
#define con_dlb(x) fprintf(codefile,".long\t%s\n",x)
|
|
|
|
|
|
|
|
#define BSS_INIT 0
|