Annotation of researchv9/jerq/sgs/as/symbols.h, revision 1.1

1.1     ! root        1: /*
        !             2:  * static char ID_smblsh_[] = "@(#) symbols.h: 1.4 6/3/83";
        !             3:  */
        !             4: 
        !             5: #include       "systems.h"
        !             6: typedef char BYTE;
        !             7: 
        !             8: #define UNDEF  000
        !             9: #define ABS    001
        !            10: #define TXT    002
        !            11: #define DAT    003
        !            12: #define BSS    004
        !            13: #define TYPE   (UNDEF|ABS|TXT|DAT|BSS)
        !            14: #define TVDEF  020
        !            15: #define EXTERN 040
        !            16: 
        !            17: typedef        union
        !            18:        {
        !            19:                char    name[9];
        !            20:                struct
        !            21:                {
        !            22:                        long    zeroes;
        !            23:                        long    offset;
        !            24:                } tabentry;
        !            25:        } name_union;
        !            26: 
        !            27: typedef        struct
        !            28:        {
        !            29:                name_union      _name;
        !            30:                BYTE    tag;
        !            31:                short   styp;
        !            32:                long    value;
        !            33:                short   maxval;
        !            34:                short   sectnum;
        !            35:        } symbol;
        !            36: 
        !            37: #define SYMBOLL        sizeof(symbol)
        !            38: 
        !            39: typedef        struct
        !            40:        {
        !            41:                char    name[sizeof(name_union)];
        !            42:                BYTE    tag;
        !            43:                BYTE    val;
        !            44:                BYTE    nbits;
        !            45:                long    opcode;
        !            46:                symbol  *snext;
        !            47:        } instr;
        !            48: 
        !            49: #define INSTR sizeof(instr);
        !            50: 
        !            51: #define INSTALL        1
        !            52: #define N_INSTALL      0
        !            53: #define USRNAME        0
        !            54: #define MNEMON 1
        !            55: 
        !            56: typedef        union
        !            57:        {
        !            58:                symbol  *stp;
        !            59:                instr   *itp;
        !            60:        } upsymins;

unix.superglobalmegacorp.com

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