摘要 |
PROBLEM TO BE SOLVED: To provide a cache system and a cache control method therefor that, when a fault is detected during the execution of a microcode, achieve the improvement of instruction rewrite success rate by writing data contents executed with a microcode preceding the microcode in execution back into a cache memory, in a processor that unwinds an instruction code into the microcodes to execute it. SOLUTION: In the cache system in which a central processing unit 10 having a processor 13 of a system that unwinds the instruction code into the microcodes to execute it is connected to a main memory 20 through a system bus 30, a cache data save part 12 is provided, for constituting the cache system, that, when a fault is detected during the execution of the microcode with the processor 13, restores the microcode into the state immediately preceding the execution of the microcode by writing the write data that have been saved previously and is updated with the microcode preceding the microcode in execution back into the cache memory. |