GetRegBit function documention