摘要 |
PURPOSE:To read out a stored necessary pointer and to execute access to a stack by providing each means for storing a reference pointer and displacement quantity, and a pointer output means for generating and storing a point for the stack from both said means. CONSTITUTION:Whenever a frame is set, frame pointer data is set to a register 10 and also a counter 8 is started. Subsequently, a count value which becomes a pointer memory write address for a pointer memory 2, and becomes a displacement memory read-out address for a displacement memory 9 is outputted successively. Displacement data which has been read out of the displacement memory 9 is added to the frame pointer data being a reference pointer from the register 10, and outputted from an ALU 7. This output value is written on a pointer memory 2 which has received an output of the counter 8, namely, a pointer memory write address, by a signal on a selector #2 line 3 at this time. A necessary pointer is read out of the pointer memory 2, and supplied to a stack 1 through a multiplexer 13.
|