|
|
1.1 ! root 1: #include <string.h> ! 2: ! 3: #include <stdio.h> ! 4: ! 5: ! 6: ! 7: #define LINSIZ 128 ! 8: ! 9: ! 10: ! 11: #ifdef __STDC__ ! 12: ! 13: #define P_(x) x ! 14: ! 15: #else ! 16: ! 17: #define P_(x) () ! 18: ! 19: #define const ! 20: ! 21: #endif ! 22: ! 23: ! 24: ! 25: /* are we compiling on an Atari? */ ! 26: ! 27: #if defined(atarist) || defined(ATARI) ! 28: ! 29: #define NATIVEATARI 1 ! 30: ! 31: #endif ! 32: ! 33: ! 34: ! 35: #if defined(__STDC__) && !defined(NO_STDLIB) ! 36: ! 37: # include <stdlib.h> ! 38: ! 39: #else ! 40: ! 41: #define size_t int ! 42: ! 43: extern char *malloc(); ! 44: ! 45: #endif ! 46: ! 47: ! 48: ! 49: #define GAS 0 ! 50: ! 51: #define ASM 1 ! 52: ! 53: #define PUREC 2 ! 54: ! 55: extern int syntax; ! 56: ! 57: ! 58: ! 59: /* this variable should always be 0 ! 60: ! 61: * at the end of translation */ ! 62: ! 63: extern int ifstkptr; ! 64: ! 65: ! 66: ! 67: char *concat P_((char *, char *)); ! 68: ! 69: char *concat3 P_((char *, char *, char *)); ! 70: ! 71: char *concat4 P_((char *, char *, char *, char *)); ! 72: ! 73: char *concat5 P_((char *,char *, char *, char *, char *)); ! 74: ! 75: char *concat6 P_((char *,char *,char *, char *, char *, char *)); ! 76: ! 77: void do_define P_((char *, char *)); ! 78: ! 79: void do_ifdef P_((char *)); ! 80: ! 81: void do_ifndef P_((char *)); ! 82: ! 83: void do_else P_((void)); ! 84: ! 85: void do_endif P_((void)); ! 86: ! 87: void do_include P_((char *)); ! 88: ! 89: void do_initial_defs P_((void)); ! 90: ! 91: void yyerror P_((char *)); ! 92: ! 93: ! 94: ! 95: char *wordlookup P_((char *)); ! 96: ! 97: char *changesiz P_((char *)); ! 98: ! 99: char *fixupword P_((char *)); ! 100: ! 101: void emit P_((char *)); ! 102: ! 103: ! 104: ! 105: char *immediate P_((char *)); ! 106: ! 107: char *indirect P_((char *)); ! 108: ! 109: char *postinc P_((char *)); ! 110: ! 111: char *predec P_((char *)); ! 112: ! 113: char *indexed P_((char *, char *)); ! 114: ! 115: char *sizedop P_((char *, char *)); ! 116: ! 117: char *twoindex P_((char *, char *, char *)); ! 118: ! 119: char *bitfield P_((char *, char *, char *)); ! 120: ! 121: char *do_ops P_((char *, char *, char *, char *)); ! 122: ! 123: char *hexop P_((char *)); ! 124: ! 125: ! 126: ! 127: extern FILE *infile, *outfile; ! 128: ! 129: extern int hidecnt; ! 130:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.