xref: /csrg-svn/lib/libc/hp300/net/ntohs.s (revision 61119)
141805Sbostic/*-
2*61119Sbostic * Copyright (c) 1990, 1993
3*61119Sbostic *	The Regents of the University of California.  All rights reserved.
441805Sbostic *
541805Sbostic * This code is derived from software contributed to Berkeley by
641805Sbostic * the Systems Programming Group of the University of Utah Computer
741805Sbostic * Science Department.
841805Sbostic *
941805Sbostic * %sccs.include.redist.c%
1041805Sbostic */
1141805Sbostic
1241805Sbostic#if defined(LIBC_SCCS) && !defined(lint)
13*61119Sbostic	.asciz "@(#)ntohs.s	8.1 (Berkeley) 06/04/93"
1441805Sbostic#endif /* LIBC_SCCS and not lint */
1541805Sbostic
1641805Sbostic/* hostorder = ntohs(netorder) */
1741805Sbostic
1841805Sbostic#include "DEFS.h"
1941805Sbostic
2041805SbosticENTRY(ntohs)
2141805Sbostic	clrl	d0
2241805Sbostic	movw	sp@(6),d0
2341805Sbostic	rts
24