2 * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
3 * See the copyright notice in the ACK home directory, in the file "Copyright".
6 #define RCS_H "$Id: mach.h,v 2.6 1994/06/24 13:55:15 ceriel Exp $"
9 #define ex_ap(y) fprintf(codefile,".extern %s\n",y)
10 #define in_ap(y) /* nothing */
12 #define newilb(x) fprintf(codefile,"%s:\n",x)
13 #define newdlb(x) fprintf(codefile,"%s:\n",x)
14 #define dlbdlb(x,y) fprintf(codefile,"%s = %s\n",x,y)
15 #define newlbss(l,x) fprintf(codefile,".comm %s,%u\n",l,x);
19 #define ilb_fmt "I%x_%x"
21 #define hol_fmt "hol%d"
23 #define loc_off "%d(bp)"
24 #define arg_off "4+%d(bp)"
25 #define hol_off "%ld+hol%d"
27 #define con_cst(x) fprintf(codefile,".data2\t%ld\n",x)
28 #define con_ilb(x) fprintf(codefile,".data2\t%s\n",x)
29 #define con_dlb(x) fprintf(codefile,".data2\t%s\n",x)
31 #define modhead ".sect .text; .sect .rom; .sect .data; .sect .bss\n"
33 #define fmt_id(fs, ft) sprintf(ft, "_%s", fs)