xref: /csrg-svn/lib/libc/hp300/sys/syscall.s (revision 62566)
141858Sbostic/*-
2*62566Sbostic * Copyright (c) 1990, 1993
3*62566Sbostic *	The Regents of the University of California.  All rights reserved.
441858Sbostic *
541858Sbostic * This code is derived from software contributed to Berkeley by
641858Sbostic * the Systems Programming Group of the University of Utah Computer
741858Sbostic * Science Department.
841858Sbostic *
941858Sbostic * %sccs.include.redist.c%
1041858Sbostic */
1141858Sbostic
1241858Sbostic#if defined(LIBC_SCCS) && !defined(lint)
13*62566Sbostic	.asciz "@(#)syscall.s	8.1 (Berkeley) 06/07/93"
1441858Sbostic#endif /* LIBC_SCCS and not lint */
1541858Sbostic
1641858Sbostic#include "SYS.h"
1741858Sbostic
1841858SbosticENTRY(syscall)
1941858Sbostic	clrl	d0
2041858Sbostic	trap	#0
2141858Sbostic	jcs	err
2241858Sbostic	rts
2341858Sbosticerr:
2441858Sbostic	jmp	cerror
25