Annotation of cci/sys/tahoe/Ashal.c, revision 1.1

1.1     ! root        1: #include "../machine/alignment.h" 
        !             2: shal(infop)    process_info *infop;
        !             3: /*
        !             4: /*     Shift arithmetic left (longword).
        !             5: /*     Checks for overflow.
        !             6: /*
        !             7: /*******************************/
        !             8: {
        !             9:        register        long    Register_12;    /* Has to be first reg ! */
        !            10:        register        long    Register_11;
        !            11:        register        long    Register_10;
        !            12:        
        !            13:        Register_12 = operand(infop,0)->data;
        !            14:        Register_11 = operand(infop,1)->data;
        !            15:        Register_10=psl;
        !            16:        Set_psl(r10);   /* restore the user psl */
        !            17:        asm ("  shal    r12,r11,r10");
        !            18:        asm ("  movpsl  r12");
        !            19:        New_cc (Register_12);
        !            20:        write_back (infop, Register_10, operand(infop,2));
        !            21: }

unix.superglobalmegacorp.com

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