Patent ID: 8234476

Claim:
An information processing device, comprising: an instruction execution part that outputs a normal access request, the normal access request including first address information to specify an access destination based on an execution of an access command of an address space in a memory not including a stack operation instruction to a stack area included in the address space, and that outputs a check request including second address information to specify a stack pointer point after an extension based on an execution of a stack extension command to extend the stack area by updating the stack pointer point; a memory protection information storage section that stores memory protection information to define a plurality of partial spaces from the address space, the partial spaces being accessible by the instruction execution part; a protection violation detection section that detects whether the access destination includes the plurality of the partial spaces, by collating the first address information with the memory protection information stored in the memory protection information storage section, in a response to the normal access request; and a checking section that checks whether the stack pointer point includes a predetermined partial space for a stack among the plurality of the partial spaces, by collating the second address information with the memory protection information stored in the memory protection information storage unit, in a response to the check request, the predetermined partial space being retained preliminarily as a stack area enabling the stack, wherein the memory protection information is configured as a plurality of protection setting registers, each one the plurality of protection setting registers specifying a single access-permitted area comprising a lower bound address and an upper hound address as a stack area, and a stack reference assignment section indicating whether the stack area is access-permitted, said protection setting registers being configured in a single protection setting register in the memory protection information storage section, and wherein the instruction execution part outputs the stack operation instruction with an updated stack pointer as the first address information based on an execution of the stack operation instruction, when the checking section determines that the stack pointer point is not in a stack reference access-permitted area.