Subversion Repositories Kolibri OS

Rev

Blame | Last modification | View Log | Download | RSS feed

  1. /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */
  2. #include <libc/asmdefs.h>
  3.  
  4. #include<libc/asm.h>
  5. MK_C_SYM(htonl)
  6.  
  7.         movl    4(%esp), %eax
  8.         xchgb   %ah, %al
  9.         rorl    $16, %eax
  10.         xchgb   %ah, %al
  11.         ret
  12.