摘要 |
PURPOSE: To provide a mechanism with which bubbles in a pipeline can be removed and a recovery address is given without requiring any complicated procedure at the time of using a stack. CONSTITUTION: This mechanism for generating the subroutine recovery address to be estimated in response to the input of a subroutine recovery instruction through the computer pipeline, has a ring pointer counter 40 and a ring buffer 34 connected to this counter. The ring pointer of the ring pointer counter 40 is changed when either a subroutine calling instruction or the recovery instruction is to be inputted to the pipeline. Concerning the buffer position of the ring buffer 34, the value of input is stored at a buffer position instructed by the ring pointer when the subroutine calling instruction is to be inputted to the pipeline. The ring buffer 34 applies the value from the buffer position instructed by the ring pointer when inputting the subroutine recovery instruction to the computer pipeline, and this value becomes the subroutine recovery address to be estimated. |