ack/mach/vax4/cg/mach.h

33 lines
1,005 B
C
Raw Normal View History

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$ */
1990-01-12 17:05:42 +00:00
#define ex_ap(x) fprintf(codefile,".extern\t%s\n",x)
1984-10-09 10:36:29 +00:00
#define in_ap(x) /* nothing */
#define newilb(x) fprintf(codefile,"%s:\n",x)
#define newdlb(x) fprintf(codefile,"%s:\n",x)
#define newplb(x) fprintf(codefile,".align 1\n%s:\n",x)
1990-01-12 17:05:42 +00:00
#define dlbdlb(s1,s2) fprintf(codefile,"%s = %s\n",s1, s2)
#define newlbss(l,x) fprintf(codefile,".comm\t%s,%ld\n",l,x);
1984-10-09 10:36:29 +00:00
#define cst_fmt "%ld"
1984-10-09 10:36:29 +00:00
#define off_fmt "%ld"
1990-01-12 17:05:42 +00:00
#define ilb_fmt "I%x_%x"
#define dlb_fmt "I_%d"
1984-10-09 10:36:29 +00:00
#define hol_fmt "hol%d"
#define fmt_id(fr,to) sprintf(to,"_%s",fr)
1984-10-09 10:36:29 +00:00
#define hol_off "%ld+hol%d"
1990-01-12 17:05:42 +00:00
#define con_cst(w) fprintf(codefile,".data4\t%ld\n",w)
#define con_ilb(x) fprintf(codefile,".data4\t%s\n",x)
#define con_dlb(x) fprintf(codefile,".data4\t%s\n",x)
1984-10-09 10:36:29 +00:00
#define BSS_INIT 0
1992-03-27 17:36:49 +00:00
#define MACH_OPTIONS
1990-01-12 17:05:42 +00:00
#define modhead ".sect .text\n.sect .rom\n.sect .data\n.sect .bss\n"