Annotation of 42BSD/lib/libc/vax/net/ntohs.c, revision 1.1

1.1     ! root        1: /* @(#)ntohs.c 4.1 12/15/82 */
        !             2: /* hostorder = ntohs(netorder) */
        !             3: 
        !             4: #include "DEFS.h"
        !             5: 
        !             6: ENTRY(ntohs)
        !             7:        rotl    $8,4(ap),r0
        !             8:        movb    5(ap),r0
        !             9:        movzwl  r0,r0
        !            10:        ret

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.