摘要 |
There is provided a computer that can safely rewrite any one of the areas where a boot program is stored with fewer actions in the self-mode. A nonvolatile memory (1) is divided into a plurality of areas, each of which is separately erasable and includes a user area (A11 or B12) and a boot area designation flag (A21 or B22) indicating whether the corresponding user area is specified as a boot area. An area designation flag (4) specifies the user area containing a boot program among a plurality of user areas. A CPU (2) sets the value of the area designation flag based on the values of a plurality of boot area designation flags. When a system is started, the user area including the program for starting the operation of the CPU is determined based on the value of the area designation flag. <IMAGE> |