|
|
1.1 root 1: .data
2: .text
3: LL0:.align 1
4: .globl _s_cat
5: .set MASK__,0x1F04
6: .data
7: .text
8: _s_cat:.word MASK__
9: movl 8(fp),r12 /* rpp */
10: movl 20(fp),r10 /* ll */
11: movl 12(fp),r9 /* pi = &rnp */
12: shll $2,*16(fp),r1 /* *np * 4 */
13: addl3 r1,r9,r8 /* pn = &rnp + *np */
14: movl 4(fp),r1 /* lp */
15: jbr L18 /* for */
16:
17: L20:
18: movs3 /* copy nc chars from rp to lp */
19: addl2 $4,r12 /* rpp++ */
20: addl2 $4,r9 /* pi++ */
21:
22: L18:
23: cmpl r9,r8 /* pi < pn */
24: jgequ L22 /* pn reached - out of loop */
25: movl r10,r2 /* nc = ll */
26: cmpl (r9),r2 /* if (*pi < nc) */
27: jgeq L19
28: movl (r9),r2 /* nc = *pi */
29:
30: L19:
31: subl2 r2,r10 /* ll -= nc */
32: movl (r12),r0 /* rp = *rpp */
33: jbr L20
34:
35: L2000005: /* pad with spaces */
36: movb $32,(r1)
37: incl r1
38:
39: L22: /* while (--ll >= 0) */
40: decl r10
41: jgeq L2000005
42: ret#2
43:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.