摘要 |
<p><P>PROBLEM TO BE SOLVED: To execute an interrupt handler to shorten the time required for a return to a normal operation mode when a microprocessor operating in a sleep mode receives an interrupt request, making it necessary to save a PC, a PSW and a general purpose register group (destructive register) on a stack in an external storage. <P>SOLUTION: During a shift to the sleep mode, the program counter (PC), the personal status word (PSW) and the general purpose register group (destructive register) are saved on the stack (saving on stack) before a step F202 for shifting to the sleep mode with a clock halted. Therefore, if the interrupt request (step 203) is received during the operation in the sleep mode, clock supply is resumed, saving on the stack is not performed, the execution of the interrupt handler is completed and the time required for the return to the normal operation mode (steps F204 to F206) can be shortened. <P>COPYRIGHT: (C)2004,JPO</p> |