xref: /original-bsd/lib/libc/tahoe/string/bzero.s (revision c3e32dec)
1/*
2 * Copyright (c) 1988, 1993
3 *	The Regents of the University of California.  All rights reserved.
4 *
5 * %sccs.include.redist.c%
6 *
7 * This code is derived from software contributed to Berkeley by
8 * Computer Consoles Inc.
9 */
10
11#if defined(LIBC_SCCS) && !defined(lint)
12	.asciz "@(#)bzero.s	8.1 (Berkeley) 06/04/93"
13#endif /* LIBC_SCCS and not lint */
14
15/* bzero(base, length) */
16#include "DEFS.h"
17
18ENTRY(bzero, 0)
19	movl	$1f,r0				# r0 = null source string
20	movl	4(fp),r1			# r1 = destination address
21	movl	8(fp),r2			# r2 = count
22	movs3
23	ret
241:
25	.byte 0
26