ack/mach/vax4/cg/mach.h
1984-10-09 10:36:29 +00:00

24 lines
668 B
C

/* $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)
#define dlbdlb(s1,s2) fprintf(codefile,"%s = %s\n",s1,s2)
#define newlbss(x,f) fprintf(codefile,"%s:.space\t%ld\n",x,f)
#define cst_fmt "$%ld"
#define off_fmt "%ld"
#define ilb_fmt "I%03x%04x"
#define dlb_fmt "_%d"
#define hol_fmt "hol%d"
#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 id_first '_'
#define BSS_INIT 0