Data storage circuits are connected to the bit lines in a one-to-one correspondence.
A write circuit writes the data on a first page into a plurality of first memory
cells selected simultaneously by a word line. Thereafter, the write circuit writes
the data on a second page into the plurality of first memory cell. Then, the write
circuit writes the data on the first and second pages into second memory cells
adjoining the first memory cells in the bit line direction.