摘要 |
The present invention relates to an efficient utilization of data storage resources in a data processing device, particularly a mobile terminal, comprising a CPU, a ROM-memory with stored boot code, a RAM-memory and a flash-memory, and provides a method comprising the following steps: a) creating a main program executable for said CPU, b) dividing said main program into pages with a fixed data block size for an efficient execution in said CPU, c) compressing said main program on a per page basis, d) creating a pre-execution program comprising a decompression algorithm for said compressed main program, e) storing said pre-execution program and said compressed main program in said flash memory, f) booting said CPU by loading said boot code into said CPU from said ROM, g) executing said pre-execution program in said CPU, h) decompressing at least part of said main program on a per page basis and storing a number of decompressed pages in said RAM, i) executing said main program by loading decompressed pages from said RAM-memory into said CPU. |