Memory Operations Category

Various Routines for low level manipulations of Bits, Bytes through to blocks of Memory.

Routines
BitIsSetReturns True if Specified Bit of BitList is 1.
Bits2LStrConverts a Long Bit list to a string of '1' and '0'.
Bits2StrConverts a Bit list to a string of '1' and '0'.
BitsSetReturns a number from 0 -> 32 indicating the number of Bits Set.
ClearAllBitsSets all Bits in a BitList to 0.
ClearBitSets specified Bit of a BitList to 0.
ESBClearFills given structure with specified number of 0 values, effectively clearing it.
ESBExchangeSwaps the data for the specified number of bytes between the two structures.
ESBSameReturns True if two structures have the same bytes for the first Size Words.
FlipAllBitsFlips all Bits in a BitList, i.e 1 becomes 0 and 0 becomes 1.
FlipBitFlips specified Bit of a BitList, ie 0 becomes 1 and 1 becomes 0.
MakeInt64Combine High and Low DWord into Int64.
ReverseBitsReverses the Bit List, ie Bit 15 swap Bit 0, Bit 14 swap Bit1, etc.
SetAllBitsSets all Bits in a BitList to 1.
SetBitSets specified Bit of a BitList to 1.
SplitInt64Split a Int64 into High DWord and Low DWord.
Str2BitsConverts a string of '1' and '0' into a BitList.
SwapXYSwap 2 Values using a Temp Value.


HTML generated by Time2HELP
http://www.time2help.com