摘要 |
PURPOSE:To facilitate the check for the factor of breakage of a work memory by detecting an improper access given to a memory which is acquired and assigned with a memory assignment function in a step serving as a check mechanism using a memory return function. CONSTITUTION:A work memory is acquired for each page via a memory assignment function and the prescribed pattern data are previously stored in the areas except a requested area in a page of the acquired memory. At the same time, the address of the memory page, the data showing the position of a requested memory area, and the value of a program counter of the requester side are set and registered. Then a warning of an improper memory access is outputted together with the set and registered data if the address of the memory page to be returned via a memory return function is not coincident with the registered memory page address or the pattern data stored previously in the memory page has a change. Thus it is possible to know an area where the improper memory access is carried out to cause the breakage of the work memory. |