Pristine Ack-5.5
[Ack-5.5.git] / mach / arm / ncg / mach.h
1 #define ex_ap(y)        fprintf(codefile,".extern %s\n",y)
2 #define in_ap(y)        /* nothing */
3
4 #define newilb(x)       fprintf(codefile,"%s:\n",x)
5 #define newdlb(x)       fprintf(codefile,"%s:\n",x)
6 #define dlbdlb(x,y)     fprintf(codefile,"%s = %s\n",x,y)
7 #define newlbss(l,x)    fprintf(codefile,"%s:.space\t%ld\n",l,x);
8
9 #define cst_fmt         "%ld"
10 #define off_fmt         "%ld"
11 #define ilb_fmt         "I%03x%x"
12 #define dlb_fmt         "_%d"
13 #define hol_fmt         "hol%d"
14
15 #define hol_off         "%ld+hol%d"
16
17 #define con_cst(x)      fprintf(codefile,".data4\t%ld\n",x)
18 #define con_ilb(x)      fprintf(codefile,".data4\t%s\n",x)
19 #define con_dlb(x)      fprintf(codefile,".data4\t%s\n",x)
20
21 #define modhead         ".sect .text\n.sect .rom\n.sect .data\n.sect .bss\n"
22
23 #define id_first        '_'
24 #define BSS_INIT        0