An application program is executed and is easily made reusable by dividing
the application program into processing units, and by creating a logical
circuit in the reconfigurable hardware by switching so as to improve the
processing speed at low cost. The electronic computer comprises a
processing device 70. The processing device 70 includes a processor 90
having reconfigurable hardware that can create a logical circuit with a
program and a memory unit 80 storing a program used to decide creation of
a logical circuit of the processor 90. The electronic computer further
comprises a control device 60 that executes a command specified by the
processing device 70. The processor 90 issues an instruction to execute
the command when the processing device 70 detects a predetermined
condition. The commands include a command that replaces the program
stored in the memory unit 80 and a command that switches effective
program data memories when the memory unit 80 is configured by a
plurality of program data memories 81.