SL_MakeNativeWordBuffer


NAME
SL_MakeNativeWordBuffer -- converts a WORD in the specified byte order to a native WORD.

SYNOPSIS
nword = SL_MakeNativeWordBuffer(buff, byteorder);
D0A0 D0

WORD SL_MakeNativeWordBuffer(void *, UWORD);

FUNCTION
Turns the foreign format word into a native format word. The format of
the foreign word is specified by the byteorder argument. The buffer
does not need any special alignment restrictions (other than byte).

INPUTS
buff - a pointer to a buffer that holds two bytes to convert.
byteorder - one of BYTEORDER_INTEL or BYTEORDER_MOTOROLA.

RESULTS
nword - the native format word.

SEE ALSO
SL_MakeNativeLong, SL_MakeNativeLongBuffer, SL_MakeNativeWord, SL_MakeNativeWordBuffer, SL_MakeForeignWord, SL_MakeForeignWordBuffer, SL_MakeForeignLong, SL_MakeForeignLongBuffer.

 

SL_MakeNativeWordBuffer  Command Section By Type  url:SL_MakeNativeWordBuffer
  created:2008-03-01 23:36:38   last updated:2008-03-01 23:36:38
  Copyright © 1985-2017 GrasshopperLLC. All Rights Reserved.

User Contributed Comments For SL_MakeNativeWordBuffer
There are no user contributed comments for this page.