摘要 |
PROBLEM TO BE SOLVED: To dissolve complicatedness of an interruption processing without wasting memory resources. SOLUTION: When interruption to which priority is given is generated, a saving/restoring part 3 saves a program counter and a multi-purpose register when the interruption is generated in a work area of a program when the interruption is generated. A work area for interruption processing is secured in a thread work area 4 under performance and a frame address when the interruption is generated is saved in the work area. When the interruption processing is completed, the saving/restoring part 3 acquires a setting position of the work area of the program when the interruption is generated from the saved frame address, reads the program counter and the multi-purpose register saved in the work area and sets them in an internal register 7 together with the frame address. Thus, an performance state of the program when the interruption is generated is restored and performance of the program is restarted.
|