xref: /original-bsd/lib/libc/tahoe/string/strcpy.s (revision cd18b70b)
1#ifdef LIBC_SCCS
2	.asciz	"@(#)strcpy.s	1.1 (Berkeley/CCI) 08/01/86"
3#endif LIBC_SCCS
4
5/*
6 * Copy string s2 to s1.  s1 must be large enough.
7 * return s1
8 */
9#include "DEFS.h"
10
11ENTRY(strcpy, 0)
12	movl	4(fp),r1
13	movl	r1,r2
14	movl	8(fp),r0
15	movs2
16	movl	r2,r0
17	ret
18