As an EEPROM including memory cells each of which has a gate structure having a floating gate and a control gate stacked thereon to store data ???0??? or ???1??? in a nonvolatile fashion by changing the number of electrons stored in the floating gate, a NOR type flash memory is known, for example.