|
|
1.1 root 1:
2: /*
3: * strcpyn.s
4: *
5: * Copy s2 to s1, truncating or null-padding to always copy n bytes
6: * return s1
7: *
8: */
9:
10: .text
11: .align 1
12: .globl _strcpyn
13: .set L12,0x1000
14: _strcpyn: .word L12
15: movl 4(fp),r1
16: movl 8(fp),r0
17: movl 12(fp),r2
18: movl r1,r12
19: movs3
20: movl r12,r0
21: ret
22:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.