/* macdefs.h 4.2 85/08/23 */ #ifndef _MACDEFS_ #define _MACDEFS_ #define makecc(val,i) lastcon = (lastcon<<8)|((val<<24)>>24); #define ARGINIT 32 #define AUTOINIT 0 /* * Storage space requirements */ #define SZCHAR 8 #define SZINT 32 #define SZFLOAT 32 #define SZDOUBLE 64 #define SZLONG 32 #define SZSHORT 16 #define SZPOINT 32 /* * Alignment constraints */ #define ALCHAR 8 #define ALINT 32 #define ALFLOAT 32 #define ALDOUBLE 32 #define ALLONG 32 #define ALSHORT 16 #define ALPOINT 32 #define ALSTRUCT 8 #define ALSTACK 32 typedef long CONSZ; /* size in which constants are converted */ typedef long OFFSZ; /* size in which offsets are kept */ #define CONFMT "%ld" /* format for printing constants */ #define LABFMT "L%d" /* format for printing labels */ #define CCTRANS(x) x /* character set macro */ /* * Register cookies for stack pointer and argument pointer */ #define STKREG 13 /* stack pointer */ #define ARGREG 12 /* off frame pointer */ /* * Maximum and minimum register variables */ #define MINRVAR 6 /* use R6 thru ... */ #define MAXRVAR 11 /* ... R11 */ #define BACKAUTO /* stack grows negatively for automatics */ #define BACKTEMP /* stack grows negatively for temporaries */ #define FIELDOPS /* show field hardware support on VAX */ #define RTOLBYTES /* bytes are numbered from right to left */ #define ENUMSIZE(high,low) INT /* enums are always stored in full int */ #define ADDROREG #define FIXDEF(p) outstab(p) #define FIXARG(p) fixarg(p) #ifndef ncopy #define ncopy(q, p) ((q)->in = (p)->in) #endif #endif