摘要 |
PURPOSE:To evade a stack fault and to increases the processing speed of a stack control system by detecting previously the stack of a process to be newly set under a run state, and loading this stack as long as it is not included in a real stack. CONSTITUTION:A scheduling table 10 is provided to detect the process to be executed next and a desired block. The table 10 contains the name of the process under execution, the name of the process to be executed next, the block numbers of these processes, and the name and block number of the process to be executed after the next one written in a so-called matrix form. Thus the stack number of the process to be executed next is obtained and the presence or absence of the relevant number is detected by a stack control table 11. If said number is not detected, an undesired block is detected out of a real stack 12 and the stack of the process to be needed in the near future is transcribed to the stack 12 from a main memory 2. As a result, the next data processing can be executed with high efficiency. |