Conventionally, in a system using a microcomputer in which a battery is a power supply, when the microcomputer is not used, the microcomputer enters a standby mode and the execution of a program is stopped in order to reduce electricity consumption of the battery.