Ultrix-3.1/src/cmd/pcc/macdefs

/* SCCSID: @(#)macdefs	3.0	4/22/86 */

/**********************************************************************
 *   Copyright (c) Digital Equipment Corporation 1984, 1985, 1986.    *
 *   All Rights Reserved. 					      *
 *   Reference "/usr/src/COPYRIGHT" for applicable restrictions.      *
 **********************************************************************/

# define makecc(val,i)  lastcon = i ? (val<<8)|lastcon : val  

# define  ARGINIT 32 
# define  AUTOINIT 48 
# define  SZCHAR 8
# define  SZINT 16
# define  SZFLOAT 32
# define  SZDOUBLE 64
# define  SZLONG 32
# define  SZSHORT 16
# define SZPOINT 16
# define ALCHAR 8
# define ALINT 16
# define ALFLOAT 16
# define ALDOUBLE 16
# define ALLONG 16
# define ALSHORT 16
# define ALPOINT 16
# define ALSTRUCT 16
# define  ALSTACK 16 

/*	size in which constants are converted */
/*	should be long if feasable */

# define CONSZ long
# define CONFMT "%Ld"

/*	size in which offsets are kept
/*	should be large enough to cover address space in bits
*/

# define OFFSZ long

/* 	character set macro */

# define  CCTRANS(x) x

/* register cookie for stack poINTer */

# define  STKREG 5
# define ARGREG 5

/*	maximum and minimum register variables */

# define MAXRVAR 4
# define MINRVAR 2

	/* various standard pieces of code are used */
# define STDPRTREE
#ifndef	PCC40
# define LABFMT "L%d"
#else
# define LABFMT "L%d\n"
#endif

/* definition indicates automatics and/or temporaries
   are on a negative growing stack */

# define BACKAUTO
# define BACKTEMP

# define RTOLBYTES
# ifndef FORT
# define ONEPASS
# endif

# ifndef FORT
# define EXIT dexit
# endif

# define ENUMSIZE(high,low) INT

#ifdef	PCC40
# ifdef ONEPASS
# undef ONEPASS
# endif
#endif