摘要 |
PURPOSE:To obtain an interpreter for multi-task OS by converting a system call processing section of a single task OS into a system call processing section of multi-task OS and adding a jump section to a system call specific to the multi-task OS. CONSTITUTION:An instruction string of an interpreter for single task OS is searched, a jump section of the single task OS to system calls CALL1-CALLl is extracted and eliminated, the jump section of said system calls CALL 1'-CALLl' of the multi-task OS is inserted to the eliminated part, and the input parameter/output parameter multi-task OS conversion section are inserted before and after the jump section. Then the jump section to system calls CALLM1-CALLMj specific to the multi-task OS such as inter-task synchronization and parallel processing is added to the single task OS interpreter completed for said elimination and insertion processing. The pre-processing, an instruction processing section and the post-processing section are preserved as they are.
|