xref: /csrg-svn/lib/libc/vax/net/ntohl.s (revision 61235)
121443Sdist/*
2*61235Sbostic * Copyright (c) 1983, 1993
3*61235Sbostic *	The Regents of the University of California.  All rights reserved.
434814Sbostic *
542637Sbostic * %sccs.include.redist.c%
621443Sdist */
721443Sdist
834814Sbostic#if defined(LIBC_SCCS) && !defined(lint)
9*61235Sbostic	.asciz "@(#)ntohl.s	8.1 (Berkeley) 06/04/93"
1034814Sbostic#endif /* LIBC_SCCS and not lint */
1121443Sdist
129717Ssam/* hostorder = ntohl(netorder) */
139717Ssam
149717Ssam#include "DEFS.h"
159717Ssam
1634425SmckusickENTRY(ntohl, 0)
179717Ssam	rotl	$-8,4(ap),r0
189717Ssam	insv	r0,$16,$8,r0
199717Ssam	movb	7(ap),r0
209717Ssam	ret
21