PURPOSE: To enhance the speed of memory test by sending clear information and carry information to an X counter and a Y counter respectively when the output information of the X counter and information in a register coincide with each other.
CONSTITUTION: If the memory test should be omitted partially for elements 3 in a column Cn, prescribed carry information is held in a register 13. Then, when the memory test advances in accordance with the counting-up operation of an X counter 11 to reach an address CnRn, a comparator 14 detects the coincidence between output information of the counter 11 and carry information of the register 13 to send clear information and carry information to the counter 11 and a Y counter 12 respectively. Thus, the element 3 in an address Cn+1R0 is designated as an object of memory test, and as the result, the test for elements 3 in address CnRn+1WCnRm is omitted, and therefore, the memory test is made at a high-speed.