MEM.ReverseBitsInBYTE (FUN)

 

This function of the CAA_Memory.library  will return the input byte “byInput“ in reversed bit order.

Input:

byInput

BYTE

Input byte

Output:

MEM.ReverseBitsInBYTE

BYTE

Byte in reversed bit order

Example:

byInput = 16#01 = 2#00000001

->

MEM.ReverseBitsInBYTE(byInput) = 16#80 = 2#10000000