/* ** Small-C Compiler Version 2.0 ** ** Copyright 1982 J. E. Hendrix ** ** Part 3 */ #include "stdiol.h" #include "cc.def" /* ** external references in part 1 */ extern char #ifdef DYNAMIC *stage, *litq, #else /* DYNAMIC */ stage[STAGESIZE], litq[LITABSZ], #endif /* DYNAMIC */ *glbptr, *lptr, ssname[NAMESIZE], quote[2], *stagenext; extern int ch, csp, litlab, litptr, nch, op[16], op2[16], oper, opindex, opsize; /* ** external references in part 2 */ extern int addsym(), blanks(), bump(), clearstage(), endst(), error(), findglb(), findloc(), gch(), getlabel(), inbyte(), junk(), match(), needlval(), needtoken(), nextop(), nl(), numeric(), outbyte(), outdec(), outstr(), postlabel(), printlabel(), putint(), setstage(), streq(), symname(); /* ** external references in part 4 */ extern int /* ** arithmetic routines prefaced with "zz" to keep M80 ** assembler from generating error msgs when this is compiled */ zzadd(), zzand(), zzasl(), zzasr(), zzcall(), callstk(), com(), dec(), zzdiv(), doublereg(), zzeq(), eq0(), zzge(), ge0(), getloc(), getmem(), zzgt(), gt0(), immed(), immed2(), inc(), indirect(), jump(), zzle(), le0(), lneg(), loadargc(), zzlt(), lt0(), zzmod(), modstk(), move(), zzmult(), zzne(), ne0(), neg(), zzor(), zzpop(), zzpush(), putmem(), putstk(), zzret(), smartpop(), zzsub(), swap(), swapstk(), testjump(), uge(), ugt(), ule(), ult(), ult0(), zzxor(), zerojump(); #include "cc31.c" #include "cc32.c" #include "cc33.c"