摘要 |
PURPOSE:To attain the execution of plural programs by means of a processor having just a single level of execution, by providing a means into a program to count and discriminate the processed data quantity and performing the switching of program execution. CONSTITUTION:When a head address (a) of a fixed region F1 is set to a register 7, A processing part 4 starts the execution of the program A in a memory 5. Thus the data in a memory 1 are fetched to a buffer 3 with a prescribed unit and then transferred to a memory 2. When the transfer frequency of the data reaches a prescribed level, a CALL instruction is given from the program A. On receiving the CALL instruction, a control program 9 sets the program A under the queuing state and at the same time starts a switching routine 8. The routine 8 sets the head address (b) of a fixed region F2 to a register by a switching instruction C and then gives a start command E to the part 4. The part 4 starts the execution of a program B which is designated by the address (b). Accordingly the data in the memory 1 are transferred to the memory 6 with a prescribed unit. |