|
|
1.1 ! root 1: /* C compiler: MC68020 configuration parameters */ ! 2: ! 3: #undef V9 ! 4: ! 5: #define MC68020 ! 6: #define MAXINTS 5 /* codes/node */ ! 7: #define MAXKIDS 6 /* children/node */ ! 8: #define MAXSYMS 3 /* symbols/node */ ! 9: #define NREGSETS 3 /* number of register sets */ ! 10: #define RX 2 /* symbol holding target register */ ! 11: ! 12: #define AREG 0 /* an address register */ ! 13: #define DREG 1 /* a data register */ ! 14: #define FREG 2 /* a floating point register */ ! 15: #define ZAP0 1 ! 16: ! 17: #include "gen.h" ! 18: ! 19: /* type metrics: size,alignment,constants */ ! 20: #define CHAR_METRICS 1,1,0 ! 21: #define SHORT_METRICS 2,2,0 ! 22: #define INT_METRICS 4,2,0 ! 23: #define FLOAT_METRICS 4,2,1 ! 24: #define DOUBLE_METRICS 8,2,1 ! 25: #define POINTER_METRICS 4,2,0 ! 26: #define STRUCT_ALIGN 2 ! 27: ! 28: #define LEFT_TO_RIGHT /* define for left-to-right argument evaluation */ ! 29: /* #define LITTLE_ENDIAN /* define for right-to-left bit fields */ ! 30: #define JUMP_ON_RETURN 1 ! 31: ! 32: extern Symbol a0, a1, d0, d1234, fp0; ! 33: dclproto(extern void doarg,(Node)) ! 34: dclproto(extern void docall,(Node)) ! 35: ! 36: #define defaddress(p) print("long %c%s\n", (p)->scope == LABELS ? 'L' : '_', (p)->x.name) ! 37: #define defstring(n,s) genascii(0, "byte", n, s) ! 38: #define emitspecial(p) ! 39: #define export(p) print("global _%s\n", (p)->x.name) ! 40: #define import(p) ! 41: #define defsymbol(p) ((p)->x.name = (p)->name) ! 42: #define space(n) spacen((n), "skip")
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.