Annotation of lucent/sys/src/libc/68020/memcmp.s, revision 1.1.1.1

1.1       root        1:        TEXT    memcmp(SB),$0
                      2:        MOVL    n+8(FP),R0
                      3:        BEQ     ret
                      4:        MOVL    s1+0(FP),A2
                      5:        MOVL    s2+4(FP),A1
                      6: 
                      7: l1:    CMPB    (A1)+,(A2)+
                      8:        BNE     neq
                      9:        SUBL    $1,R0
                     10:        BNE     l1
                     11:        RTS
                     12: 
                     13: neq:   BCS     gtr
                     14:        MOVL    $-1,R0
                     15:        RTS
                     16: 
                     17: gtr:   MOVL    $1,R0
                     18: ret:   RTS

unix.superglobalmegacorp.com

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