A semiconductor memory comprises means for forcing the potential on one data line to which no writing means is connected to be set to a certain level after data have been read from a memory cell, and means for setting the level of the one data line cooperating with another data line supplied with a voltage corresponding to data to be written and a sense amplifier in order to restore the one data line set to the certain level to the voltage corresponding to the data to be written. This allows the...










