 An EPROM memory cell is a MOSFET (metal-oxide semiconductor field-effect transistor, or MOS transistor) that can be switched on by trapping an electric charge permanently on its gate electrode.This is done by a PAL programmer.The charge remains for many years and can only be removed by exposing the chip to strong ultraviolet light in a device called an EPROM eraser.