When the length of data to be stored is a value other than 256 bytes, it can be determined whether or not there is a possibility for the overwrite of an instruction by similarly adding a corresponding value to the value of the instruction fetch counter.