htons.asm
bitfixer_bitfixer/dg/z88dk/libsrc/_DEVELOPMENT/l/sccz80/crt0/htons.asm
;
;       Small C+ TCP Implementation
;
;       htons() Convert host to network format and back again!
;
;       djm 24/4/99

SECTION code_clib
SECTION code_l_sccz80

PUBLIC htons

htons:

   ld a,l
   ld l,h
   ld h,a
   
   ret
