The memory has identically constructed memory cells and reference cells. An
item of reference information is written into the reference cells by
uncoupling the reference cells from the read amplifiers via first
switching elements, and by electrically connecting the part of the bit
lines that is connected to the reference cells via second switching
elements to a potential line carrying the reference information.