Annotation of cci/usr/src/usr.lib/libF77/s_copy_s.s, revision 1.1.1.1

1.1       root        1: .data
                      2: .text
                      3: LL0:.align     1
                      4: .globl _s_copy
                      5: .set   MASK__,0x1004           /* save r2, r12 */
                      6: .data
                      7: .text
                      8: _s_copy:.word  MASK__
                      9: movl   4(fp),r1                /* dest addr */
                     10: movl   8(fp),r0                /* src addr */
                     11: movl   12(fp),r12              /* dest length */
                     12: cmpl   r12,16(fp)              /* if (ldest <= lsrc) */
                     13: jgtr   L16
                     14: movl   r12, r2                 /* copy according to ldest */
                     15: movs3
                     16: ret
                     17: L16:                           /* else */
                     18: movl   16(fp),r2               /* copy according to lsrc */
                     19: movs3
                     20: addl2  4(fp),r12               /* and pad with spaces */
                     21: L20:movb       $32,(r1)
                     22: incl   r1
                     23: cmpl   r1,r12
                     24: jlssu  L20
                     25: ret
                     26: 

unix.superglobalmegacorp.com

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