date and time created 91/03/07 10:23:53 by bostic
[unix-history] / usr / src / lib / libc / hp300 / net / ntohs.s
/*-
* Copyright (c) 1990 The Regents of the University of California.
* All rights reserved.
*
* This code is derived from software contributed to Berkeley by
* the Systems Programming Group of the University of Utah Computer
* Science Department.
*
* %sccs.include.redist.c%
*/
#if defined(LIBC_SCCS) && !defined(lint)
.asciz "@(#)ntohs.s 5.1 (Berkeley) %G%"
#endif /* LIBC_SCCS and not lint */
/* hostorder = ntohs(netorder) */
#include "DEFS.h"
ENTRY(ntohs)
clrl d0
movw sp@(6),d0
rts