/programs/develop/libraries/menuetlibc/src/libc/pc_hw/endian/ntohl.s |
---|
0,0 → 1,11 |
/* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */ |
#include <libc/asmdefs.h> |
#include<libc/asm.h> |
MK_C_SYM(ntohl) |
movl 4(%esp), %eax |
xchgb %ah, %al |
rorl $16, %eax |
xchgb %ah, %al |
ret |