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

1.1     ! root        1: # C library -- execle
        !             2: 
        !             3: # execle(file, arg1, arg2, ... , env);
        !             4: #
        !             5: 
        !             6: .globl _execle
        !             7: 
        !             8: _execle:
        !             9:        linkw   a6,#0
        !            10:        lea     sp@(8),a0
        !            11: L1:
        !            12:        movl    a0@+,d0         | traverse the args
        !            13:        tstl    d0
        !            14:        bne     L1
        !            15:        movl    a0@,sp@-        | env
        !            16:        pea     sp@(16)         | argv
        !            17:        movl    sp@(16),sp@-    | file
        !            18:        jsr     _execve
        !            19:        addl    #12,sp
        !            20:        unlk    a6
        !            21:        rts

unix.superglobalmegacorp.com

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