PURPOSE: To control a scanning path when storage elements equipped with plural kinds of scanning function coexit on the same scanning path by providing an address counter stepping control circuit for adjusting the value of a scanning adress counter before data is scanned in.
CONSTITUTION: The state of a scanning path controller 12 is set before scanning- in operation to set an address register 17 to "0" and store scan-in data (a), (b), (c), (d), (e), and (f) in a buffer circuit 13. Two clock supply indications 151 from a dummy clock control circuit 15 are supplied to a clock supplying circuit 16, which suplies two clocks 161 to a scanning unit 9. Actual scanning-in operation starts with the succeeding 3rd clock. Namely, a scan clock control circuit 14 indicates the clock supply to the clock supplying circuit 16 through a signal line 141 and updates the contents of the address register 17 through a signal line 142 at the same time, and the buffer circuit 13 outputs the scan-in data to a scan-in data input terminal SI.