摘要 |
PURPOSE:To generate a nest exceeding the capacity of a stacker, by saving the contents of the stacker when write has been executed in a state that the stacker is full, and returning the saved information to the stacker when read-out has been executed in a state that the stacker is idle. CONSTITUTION:When processing jumps to a subroutine (a) by a call instruction of this program in a state that a stacker pointer STP is ''00'' and an address of a stacker STK is ''0'', the pointer is added by ''1'', and a return address A of this program is written in the stacker address ''0''. In case when the call instruction is given in the course of running of the subroutine (a), a return address B is written, and a return address C is further written in a state that the stacker is full, its contents are saved into a main storage device MS, and the return address C is written. Subsequently, when the subroutine C ends, the pointer is subtracted by ''1'', the return address C is read out, and also the return addresses A, B in the MS are restored and read out continuously. In this way, a nest exceeding the capacity of the stacker is generated. |