ReverseBitsInWORD (FUN)¶
FUNCTION ReverseBitsInWORD : WORD
Function returns the WORD “wInput” with a reversed bit-order.
Example:
wInput = 16#0102 = 2#00000001 00000010
->
MEM.ReverseBitsInWORD(wInput) = 16#4080 = 2#01000000 10000000
- InOut:
- Scope - Name - Type - Comment - Return - ReverseBitsInWORD- WORD- function returns a WORD with reversed bit-order of “wInput” - Input - wInput- WORD- WORD to reverse 
