Annotation of 43BSDReno/sys/tahoealign/Axor3.c, revision 1.1.1.1

1.1       root        1: /*     Axor3.c 1.1     86/07/20        */
                      2: 
                      3: #include "../tahoealign/align.h" 
                      4: xor3 (infop)   process_info *infop;
                      5: /*
                      6: /*     Xor , 3 operands.
                      7: /*
                      8: /****************************************/
                      9: {
                     10:        register        long    Register_12;    /* Has to be first reg ! */
                     11:        register        long    result, data0, data1;
                     12: 
                     13:        data0 = operand(infop,0)->data; 
                     14:        data1 = operand(infop,1)->data; 
                     15:        Register_12=psl;
                     16:        Set_psl(r12);   /* restore the user psl */
                     17:        result = data0 ^ data1;
                     18:        asm ("  movpsl  r12");
                     19:        New_cc (Register_12);
                     20:        write_back (infop,result, 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.