Patent ID: 8566813

Claim:
A method of generating an execution file for an application program comprising a plurality of functions, the method comprising: determining a number-of-calls information value for each one of the plurality of respectively indicating a frequency with which each one of the plurality of is called by other functions in the plurality of functions; and determining a size information value for each one of the plurality of functions; generating a call degree for each one of the plurality of functions using the number-of-calls information values and the size information value; and generating the execution file by locating in a first memory region of a memory, a sub-plurality of functions selected from the plurality of functions according to respective call degrees, wherein the first memory region is fully addressable by a single-word command, and the respective functions of the sub-plurality of functions are sequentially and consecutively located in the first memory region on a function by function basis beginning at a start address for the first memory region.