PURPOSE: To increase the storage capacity of mask ROM, by inputting the data of 2-bit or more, to one transistor forming the memory cell array.
CONSTITUTION: When the data in n-bit is inputted to one cell, it is required for the threshold voltage to be 2n level, and this can be made by using n-sheet of masks. Thus, when data in 2-bit is inputted to one cell, 4-level of threshold voltage is required and it can be done with two masks A, B. The memory cell array 4 is formed by using the transistor programmed to the threshold voltage with two masks, and the output of the array 4 selected with the address recorder 19 is given to the A/D converter 23 via the multiplexer 23. The converter 23 is output after being converted into 4 digital values. Thus, the storage capacity of mask ROM can be increased.