1. A memory cell comprising: a storage device configured to store a datum; a switch device configured to selectively apply a write datum to the storage device; and a logic gate having a first input terminal and an output terminal, the first input terminal of the logic gate being coupled to the storage device, and the logic gate being configured to generate an output datum at the output terminal of the logic gate according to the datum stored at the storage device.