摘要 |
PROBLEM TO BE SOLVED: To manage a branch address of computer software and effectively utilize a memory area.SOLUTION: When a routine 1060 that adopts instruction set architecture using a relative address transfers on a memory space, a device for branch address management generates both information for specifying a branch destination routine of branch instruction and a new jump instruction to which a relative address to the branch destination routine is set as a jump destination of the new jump instruction, in association with each other in a branch destination management entry 1053 on a memory. The device sets the relative address to a position of the new jump instruction corresponding to the information for specifying the branch destination routine of the branch instruction, as a branch destination relative address of the branch instruction. When the branch destination routine transfers, the device refers to the branch destination management entry and revises the jump destination of the new jump instruction corresponding to the information for specifying the branch destination routine into the relative address after transfer of the branch destination routine. |