Mechanical stiffening, bistability, and bit operations in a microcantilever