摘要 |
<p>A task processing device (100) includes a CPU (150), a saving circuit (120) and a task control circuit (200). The CPU (150) is provided with a processing register and an execution control circuit (152) which loads data from a memory to the processing register and which executes a task in accordance with the data in the processing register. The task control circuit (210) is provided with a task selecting circuit (230) and a state memory unit (220) corresponding to every task. When the executing control circuit (152) executes a predetermined system call command, it notifies the task control circuit (200) of such execution. When the task control circuit (200) is notified of the execution of the system call command, it selects a task to be executed next in response to an output from the task selecting circuit (230). The task selecting circuit (230) selects a task in response to an output from each state register (220).</p> |