xref: /csrg-svn/lib/libc/tahoe/net/ntohl.s (revision 34815)
1*34815Sbostic/*
2*34815Sbostic * Copyright (c) 1988 Regents of the University of California.
3*34815Sbostic * All rights reserved.
4*34815Sbostic *
5*34815Sbostic * Redistribution and use in source and binary forms are permitted
6*34815Sbostic * provided that the above copyright notice and this paragraph are
7*34815Sbostic * duplicated in all such forms and that any documentation,
8*34815Sbostic * advertising materials, and other materials related to such
9*34815Sbostic * distribution and use acknowledge that the software was developed
10*34815Sbostic * by the University of California, Berkeley.  The name of the
11*34815Sbostic * University may not be used to endorse or promote products derived
12*34815Sbostic * from this software without specific prior written permission.
13*34815Sbostic * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
14*34815Sbostic * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
15*34815Sbostic * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
16*34815Sbostic */
1729437Ssam
18*34815Sbostic#if defined(LIBC_SCCS) && !defined(lint)
19*34815Sbostic	.asciz "@(#)ntohl.s	1.3 (Berkeley) 06/27/88"
20*34815Sbostic#endif /* LIBC_SCCS and not lint */
21*34815Sbostic
2229437Ssam/* hostorder = ntohl(netorder) */
2329437Ssam
2429437Ssam#include "DEFS.h"
2529437Ssam
2629709SsamENTRY(ntohl, 0)
2729437Ssam	movl	4(fp),r0
2829437Ssam	ret
29