PURPOSE: To obtain a device capable of executing a program requiring relocation in a proper OS and suppressing memory consumption by providing a program execution means which executes the program requiring the relocation.
CONSTITUTION: Portable electronic equipment is constituted of a CPU 1, a ROM 2 including the proper OS and a relocator, etc., a RAM 3 including the relocator, a BIN file, and a PRA file, etc., a display device 4 such as a LED, etc., an input device 5, and a serial communication interface 6 which performs communication between the portable electronic equipment or a host computer, and they are connected via a bus. An execution module and a relocation information file are generated from a program format generated on the host computer, and the relocation item of the execution module can be decided by relocation information in the relocation information file. The program requiring the relocation can be executed based on a decided relocation item.