摘要 |
PROBLEM TO BE SOLVED: To provide a microcomputer that is permitted to change an assigned address of an interrupt processing program at the time of upgrading the version of a main program without complicating a circuit configuration.SOLUTION: A main program 20c2 stored in a rewriting area of a flash ROM 20c includes a user vector 20c22 indicating an address in which an interrupt processing program to be executed corresponding to each of interrupt factors is stored. This user vector is stored in a predetermined address for each of the prescribed interrupt factors. Therefore, an interrupt vector 20c1 or interrupt changeover program 20c4, stored in a non-rewriting area, can specify the address of this user vector. Even when an assigned address of the interrupt processing program is changed, the changed address can be indicated by using the user vector. |