摘要 |
A microcontroller includes a central processing unit, a mask read only memory (ROM) storing a set program codes and corresponding program code addresses for operating the microcontroller, wherein the program codes includes at least one bug-found program code, a programmable ROM for storing at least one bug-corrected program code and a bug-corrected program code address, wherein the bug-corrected program code is correspondent to a bug-found program code and a correction block for comparing an address for a program code to be executed in the central processing unit and the bug-corrected program code address and, if said two addresses are matched each other, for generating a match signal for ceasing a read-out operation of the ROM in response to a fetch signal issued from the central processing unit to thereby allow the bug-corrected program code to be executed in the central processing unit.
|