摘要 |
PROBLEM TO BE SOLVED: To provide a semiconductor device capable of suppressing operation delay.SOLUTION: A semiconductor device performs pipeline processing using a readout unit 1 for reading out an instruction and an arithmetic logical unit 2 performing calculation on the basis of the instruction. An instruction held by the readout unit when branch prediction is missed is transmitted from a flip-flop 10 to a memory 11. Transmission and reception of an instruction between the flip-flop and the memory composing the readout unit are controlled by the arithmetic logical unit. This can eliminate unnecessary operation of the readout unit that would occur when, for example, the instruction read out by the readout unit after the branch prediction is missed is a sub-routine. In other words, the instruction can be output to the arithmetic logical unit by returning the instruction held by the memory to the flip-flop without reading out the same instruction again by the readout unit.SELECTED DRAWING: Figure 2 |