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".
5 /* $Id: mach.h,v 2.8 1994/06/24 13:10:17 ceriel Exp $ */
7 #define ex_ap(y) fprintf(codefile,".extern %s\n",y)
8 #define in_ap(y) /* nothing */
10 #define newilb(x) fprintf(codefile,"%s:\n",x)
11 #define newdlb(x) fprintf(codefile,"%s:\n",x)
12 #define newplb(x) fprintf(codefile,".align 2\n%s:\n",x)
13 #define dlbdlb(x,y) fprintf(codefile,"%s = %s\n",x,y)
14 #define newlbss(l,x) fprintf(codefile,".comm\t%s,%ld\n",l,x)
18 #define ilb_fmt "I%x_%x"
20 #define hol_fmt "hol%d"
22 #define hol_off "%ld+hol%d"
24 #define con_cst(x) fprintf(codefile,".data4\t%ld\n",x)
25 #define con_ilb(x) fprintf(codefile,".data4\t%s\n",x)
26 #define con_dlb(x) fprintf(codefile,".data4\t%s\n",x)
28 #define fmt_id(fr,to) sprintf(to, "_%s", fr)
30 #define modhead ".sect .text; .sect .rom; .sect .data; .sect .bss\n"