摘要 |
<P>PROBLEM TO BE SOLVED: To provide a technique which suppresses the increase of RAM capacity which a built-in program uses. <P>SOLUTION: A compiler device which determines ROM allocation of a built-in program stored in a ROM of a microcomputer and RAM allocation at the time of copying the built-in program to a RAM is configured as follows; a compiler unit obtains use frequencies of functions shared among a plurality of commands to determine a configuration of RAM allocation so that the shared functions and functions used by only specific commands are allocated in this order without a free area, and a linker unit determines RAM allocation addresses on the basis of the RAM allocation configuration to determine ROM allocation addresses of functions and generates a command management list and an address management list and generates a ROM image from lists including a source program. <P>COPYRIGHT: (C)2013,JPO&INPIT |