摘要 |
PURPOSE: A method for processing multi-interrupt of a multi-program is provided to simplify an algorithm and a circuit by preventing a program error caused by a return error of the multi-program without re-mapping an address. CONSTITUTION: A register for processing the interrupt is prepared at an end of each program. If the interrupt is occurred by setting a register value corresponding to an interrupt sub-routine of the next program to the register, an interrupt process is jumped to the interrupt sub-routine of the program corresponding to the register value. The interrupt is processed by going into the interrupt sub-routine after jumping to the interrupt sub-routine.
|