SWAP_NIBBLES Name
SWAP_NIBBLES Purpose
Swap nibbles in a byte.
Category
Calling Sequence
ss = swap_nibbles(bb) Inputs
bb = input byte or byte array. in
Keyword Parameters
Outputs
ss = output byte or byte array. out
Common Blocks
Notes
Notes: swaps the upper and lower 4 four
bits in the given bytes.
Modification History
R. Sterner, 2002 Oct 30
Copyright (C) 2002, Johns Hopkins University/Applied Physics Laboratory
This software may be used, copied, or redistributed as long as it is not
sold and this copyright notice is reproduced on each copy made. This
routine is provided as is without any express or implied warranties
whatsoever. Other limitations apply as described in the file disclaimer.txt.