Annotation of 43BSDTahoe/sys/tahoealign/Acmp.c, revision 1.1.1.1

1.1       root        1: /*     Acmp.c  1.1     86/07/20        */
                      2: 
                      3: #include "../tahoealign/align.h" 
                      4: cmp(infop)     process_info *infop;
                      5: /*
                      6: /*     Arithmetic comparison 
                      7: /*
                      8: /**************************************************/
                      9: {
                     10:        register long   Register_12;    /* Has to be first reg ! */
                     11:        register long   Register_11;
                     12:        register long   Register_10;
                     13: 
                     14:        Register_12 = operand(infop,0)->data;
                     15:        Register_11 = operand(infop,1)->data;
                     16:        Register_10=psl;
                     17:        Set_psl(r10);   /* restore the user psl */
                     18:        asm ("  cmpl    r12,r11");
                     19:        asm ("  movpsl  r12");
                     20:        New_cc (Register_12);
                     21: }

unix.superglobalmegacorp.com

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