Annotation of researchv10no/cmd/lcc/gen2/mips/bemit.h, revision 1.1

1.1     ! root        1: #define nop            0x00000000
        !             2: #define ea_base(_wd)   ((_wd >> 21) & 0x0000001f)
        !             3: #define ea_offset(_wd) (((short)_wd) & 0x0000ffff)
        !             4: #define ea_addr(_offset,_base) (((_base << 21) & 0x03e00000) | ea_offset(_offset))
        !             5: 
        !             6: #ifdef BINARY
        !             7: typedef struct segment{
        !             8:        char    name[6]; 
        !             9:        unsigned baseaddr;
        !            10:        int     cursize;
        !            11:        int     totsize; 
        !            12:        MTable  *data;
        !            13: }Segment;      
        !            14: extern Segment segments[];
        !            15: extern int segmentmap[];
        !            16: 
        !            17: proto(unsigned b_addrcon,(int, int));
        !            18: proto(void b_address,(Symbol, Symbol, int, int, int));
        !            19: proto(void b_align,(int));
        !            20: proto(unsigned b_arg,(Node, unsigned int));
        !            21: proto(unsigned b_arith2,(int, int, int, int, int));
        !            22: proto(unsigned b_asgnb,(Node, unsigned int, unsigned int));
        !            23: proto(void b_blkfetch,(int, int, int, int, int));
        !            24: proto(void b_blkloop,(char *, int, char *, int, int, char *[]));
        !            25: proto(void b_blkstore,(int, int, int, int, int));
        !            26: proto(unsigned b_branch1,(int, int, int, int, Symbol));
        !            27: proto(unsigned b_branch2,(int, int, int, Symbol));
        !            28: proto(void b_byte,(unsigned));
        !            29: proto(void b_char,(char *, char *, unsigned));
        !            30: proto(unsigned b_cop,(int, int, int, int, int));
        !            31: proto(unsigned b_copmv,(int, int, int, int));
        !            32: proto(unsigned b_cvid,(int, int)) ;
        !            33: proto(unsigned b_cvt,(int, int, int));
        !            34: proto(unsigned b_def,(Symbol));
        !            35: proto(void b_double,(unsigned, unsigned));
        !            36: proto(unsigned b_eaddr,(int, int));
        !            37: proto(void b_eol,(void));
        !            38: proto(unsigned b_end,(Symbol));
        !            39: proto(unsigned b_entry,(Symbol));
        !            40: proto(unsigned b_fbranch,(int, Symbol, int, int, int, int));
        !            41: proto(unsigned b_frame,(int, int));
        !            42: proto(void b_half,(int));
        !            43: proto(unsigned b_immed,(int, int, int, int));
        !            44: proto(unsigned b_jump,(int, unsigned));
        !            45: proto(unsigned b_la,(int, unsigned));
        !            46: proto(unsigned b_ldst,(int, int, unsigned, int));
        !            47: proto(unsigned b_move,(int, int));
        !            48: proto(void b_seginit,(int []));
        !            49: proto(void b_segment,(int));
        !            50: proto(unsigned b_shift,(int, int, int, int));
        !            51: proto(void b_space,(int, char *));
        !            52: proto(unsigned b_special,(int, int, int, int));
        !            53: proto(unsigned b_stackvar,(Symbol));
        !            54: proto(void b_string,(char *, char *, int));
        !            55: proto(unsigned b_sub,(int, int, int)) ;
        !            56: proto(void b_symbol,(int, Symbol));
        !            57: proto(unsigned b_trunc,(int, int, int, int));
        !            58: proto(unsigned b_use,(Symbol));
        !            59: proto(void b_word,(int));
        !            60: #endif

unix.superglobalmegacorp.com

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