Annotation of researchv9/libc/nsys/read.s, revision 1.1

1.1     ! root        1: # C library -- read
        !             2: 
        !             3: # nread = read(file, buffer, count);
        !             4: #
        !             5: # nread ==0 means eof; nread == -1 means error
        !             6: 
        !             7:        read = 3
        !             8: .globl _read
        !             9: .globl  cerror
        !            10: 
        !            11: _read:
        !            12:        linkw   a6,#0
        !            13:        pea     read
        !            14:        trap    #0
        !            15:        bcc     noerror
        !            16:        jmp     cerror
        !            17: noerror:
        !            18:        unlk    a6
        !            19:        rts

unix.superglobalmegacorp.com

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