摘要 |
<p>PURPOSE:To facilitate the production of a subroutine program by starting the execution of a main routine when the subroutine execution time is equal to the prescribed value and then starting a subroutine when the main routine execution time is equal to the prescribed value respectively. CONSTITUTION:A main routine is carried out and a subroutine call instruction is produced in an address (e). Thus a subroutine jumps to a jump instruction destination address (f). A timer is reset and started concurrently with the start of a subroutine action. When the timer value is equal to the value of an A register, the timer is reset in an address (q) and the subroutine returns temporarily to the main routine. The timer is started in an address (h) and the main routine is carried out. When the timer value is equal to the value of a B register, the timer is reset in an address (i) and the subroutine jumps to an address (j). Thereafter a program is carried out in the order of addresses j, k, l, m, n, o, p, q, r, s, t and END, and the timer is stopped in the address (s). The main routine returns to the address (t) and then is carried out up to END.</p> |