xref: /csrg-svn/lib/libc/tahoe/string/strcpy.s (revision 42644)
134438Sbostic/*
234438Sbostic * Copyright (c) 1988 Regents of the University of California.
334438Sbostic * All rights reserved.
434438Sbostic *
5*42644Sbostic * %sccs.include.redist.c%
634824Sbostic *
734438Sbostic * This code is derived from software contributed to Berkeley by
834438Sbostic * Computer Consoles Inc.
934438Sbostic */
1029699Ssam
1134438Sbostic#if defined(LIBC_SCCS) && !defined(lint)
12*42644Sbostic	.asciz "@(#)strcpy.s	1.4 (Berkeley) 06/01/90"
1334438Sbostic#endif /* LIBC_SCCS and not lint */
1434438Sbostic
1529699Ssam/*
1629699Ssam * Copy string s2 to s1.  s1 must be large enough.
1729699Ssam * return s1
1829699Ssam */
1929699Ssam#include "DEFS.h"
2029699Ssam
2129699SsamENTRY(strcpy, 0)
2229699Ssam	movl	4(fp),r1
2329699Ssam	movl	r1,r2
2429699Ssam	movl	8(fp),r0
2529699Ssam	movs2
2629699Ssam	movl	r2,r0
2729699Ssam	ret
28