Annotation of coherent/b/bin/as/data.c, revision 1.1.1.1

1.1       root        1: /*
                      2:  * 80386 assembler common data
                      3:  */
                      4: #include <asm.h>
                      5: 
                      6: #ifdef GEM
                      7: long _stksize = 4096;
                      8: #endif
                      9: short errCt;           /* count of errors */
                     10: short kind;            /* the op->kind of current opcode */
                     11: short lastToken;       /* last token returned to yacc */
                     12: char gswitch;          /* make symbols of type S_NEW global */
                     13: 
                     14: char lswitch;          /* print a listing */
                     15: char pswitch;          /* print headers */
                     16: char mlistsw = 1;      /* print macro expansions */
                     17: char rswitch;          /* don't use % on register names */
                     18: char fswitch;          /* reverse order of operands */
                     19: char bswitch;          /* reverse bracket sense */
                     20: char wswitch;          /* shut off as warnings */
                     21: char nswitch;          /* place nop after E9 type jump */
                     22: char Qswitch;          /* no messages */
                     23: char xswitch;          /* don't put local symbols in object file */
                     24: char Xswitch;          /* don't put .L symbols in object file */
                     25: char *title;           /* title header */
                     26: char *dTime;           /* time of compile */
                     27: char *lastL;           /* last line read for listing */
                     28: char alignon;          /* automatically align data objects */
                     29: char alignonX;         /* alignon from switches */
                     30: short lineSize = 79;   /* listing line length */
                     31: short nlpp = 56;       /* default lines per page */
                     32: short linect = 56;     /* current line number */
                     33: short pass = 0;                /* current pass number */
                     34: int statement;         /* statment number */
                     35: inpctl *inpc;          /* file stack */
                     36: macro *inMacDef;       /* in macro definition */
                     37: macro *macFound;       /* the macro found by lex.c */
                     38: macctl *macExp;                /* in macro expansion */
                     39: macctl *trueMac;       /* get the real macro being expanded */
                     40: macctl *logic;         /* logical level of control */
                     41: macline *lastDef;      /* last macro line defined */
                     42: short macNo;           /* macro expansion number */
                     43: short defCt;           /* number of defines */
                     44: short longMode = 1;    /* 1 = 80386 mode, 0 = 80286 mode */
                     45: unsigned lflags;       /* is it long mode or not */
                     46: char *outName;         /* name of output file */
                     47: char lswitchX;         /* storage for lswitch from -l */
                     48: char fswitchX;         /* storage for fswitch from -f */
                     49: char bswitchX;         /* storage for bswitch from -b */
                     50: char wswitchX;         /* storage for wswitch from -w */
                     51: char nswitchX;         /* storage for nswitch from -n */
                     52: short pcnt, bcnt;      /* count op parens and brackets + left - right */
                     53: short choices;         /* Number of ways to do this opcode */
                     54: char xpass;            /* set if a branch changes size */
                     55: 
                     56: long showSym;          /* location of clobbered symbol */
                     57: FILE *errdev;          /* Where to put out errors */

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.