摘要 |
<p>PURPOSE:To improve accuracy, by counting the number of times to execute a specific instruction by a CPU within a prescribed time at an initial start up time, storing a counted value, and setting a software delay time based on the counted value as far as a program is concerned. CONSTITUTION:A programmable timer 4 operated by the clock phi1 of a CPU 3, and an independent clock phi2 is provided, and it is made possible to set a timer time T from the CPU 3, and its output is connected to the interruption terminal INT of the CPU 3. And at the initial start up time, the number of times of a NOP instruction executed by the CPU 3 is counted by the timer 4 for the time T, and a counted value N is stored at a part of a main storage device 1 as the reference value of the software delay time, and on the program P2 of a floppy disk 7, the software delay time is set on the basis of the reference value N.</p> |