home *** CD-ROM | disk | FTP | other *** search
/ minnie.tuhs.org / unixen.tar / unixen / PDP-11 / Trees / V7 / usr / src / cmd / pcc / macdefs < prev    next >
Encoding:
Text File  |  1979-01-10  |  1.2 KB  |  68 lines

  1. # define makecc(val,i)  lastcon = i ? (val<<8)|lastcon : val  
  2.  
  3. # define  ARGINIT 32 
  4. # define  AUTOINIT 48 
  5. # define  SZCHAR 8
  6. # define  SZINT 16
  7. # define  SZFLOAT 32
  8. # define  SZDOUBLE 64
  9. # define  SZLONG 32
  10. # define  SZSHORT 16
  11. # define SZPOINT 16
  12. # define ALCHAR 8
  13. # define ALINT 16
  14. # define ALFLOAT 16
  15. # define ALDOUBLE 16
  16. # define ALLONG 16
  17. # define ALSHORT 16
  18. # define ALPOINT 16
  19. # define ALSTRUCT 16
  20. # define  ALSTACK 16 
  21.  
  22. /*    size in which constants are converted */
  23. /*    should be long if feasable */
  24.  
  25. # define CONSZ long
  26. # define CONFMT "%Ld"
  27.  
  28. /*    size in which offsets are kept
  29. /*    should be large enough to cover address space in bits
  30. */
  31.  
  32. # define OFFSZ long
  33.  
  34. /*     character set macro */
  35.  
  36. # define  CCTRANS(x) x
  37.  
  38. /* register cookie for stack poINTer */
  39.  
  40. # define  STKREG 5
  41. # define ARGREG 5
  42.  
  43. /*    maximum and minimum register variables */
  44.  
  45. # define MAXRVAR 4
  46. # define MINRVAR 2
  47.  
  48.     /* various standard pieces of code are used */
  49. # define STDPRTREE
  50. # define LABFMT "L%d"
  51.  
  52. /* definition indicates automatics and/or temporaries
  53.    are on a negative growing stack */
  54.  
  55. # define BACKAUTO
  56. # define BACKTEMP
  57.  
  58. # define RTOLBYTES
  59. # ifndef FORT
  60. # define ONEPASS
  61. # endif
  62.  
  63. # ifndef FORT
  64. # define EXIT dexit
  65. # endif
  66.  
  67. # define ENUMSIZE(high,low) INT
  68.