摘要 |
PROBLEM TO BE SOLVED: To shorten a time to be spent on processing for extending a stack region due to the overflow of a stack region in a processor. SOLUTION: A processor 1 is provided with: a processing execution part 100 for executing processing; a memory 200 having a plurality of stack regions in which the stack operation of data is performed by the execution of the processing; a first register 110 for storing first address data showing the start position of the stack operation in the stack regions; a second register 340 for storing second address data showing the position of an empty stack region which is not used for the execution of the processing among the plurality of stack regions; and a control part 400 for, when it is determined that the stack regions where the stack operation is performed overflow, storing the address data generated on the basis of the second address data in the first register 110. COPYRIGHT: (C)2011,JPO&INPIT
|