Annotation of 42BSD/lib/libc/vax/gen/bcmp.s, revision 1.1.1.1

1.1       root        1: /* @(#)bcmp.s  4.2 1/14/83 */
                      2: /* bcmp(s1, s2, n) */
                      3: 
                      4: #include "DEFS.h"
                      5: 
                      6: ENTRY(bcmp)
                      7:        movl    4(ap),r1
                      8:        movl    8(ap),r3
                      9:        movl    12(ap),r4
                     10: 1:
                     11:        movzwl  $65535,r0
                     12:        cmpl    r4,r0
                     13:        jleq    2f
                     14:        subl2   r0,r4
                     15:        cmpc3   r0,(r1),(r3)
                     16:        jeql    1b
                     17:        addl2   r4,r0
                     18:        ret
                     19: 2:
                     20:        cmpc3   r4,(r1),(r3)
                     21:        ret

unix.superglobalmegacorp.com

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