xref: /csrg-svn/lib/libc/tahoe/net/htons.s (revision 61183)
134815Sbostic/*
2*61183Sbostic * Copyright (c) 1988, 1993
3*61183Sbostic *	The Regents of the University of California.  All rights reserved.
434815Sbostic *
542641Sbostic * %sccs.include.redist.c%
634815Sbostic */
729436Ssam
834815Sbostic#if defined(LIBC_SCCS) && !defined(lint)
9*61183Sbostic	.asciz "@(#)htons.s	8.1 (Berkeley) 06/04/93"
1034815Sbostic#endif /* LIBC_SCCS and not lint */
1134815Sbostic
1229436Ssam/* hostorder = htons(netorder) */
1329436Ssam
1429436Ssam#include "DEFS.h"
1529436Ssam
1629709SsamENTRY(htons, 0)
1729436Ssam	movzwl	6(fp),r0
1829436Ssam	ret
19