RISC units are typically faster and more efficient than CISC units. For this reason, many CISC processors have complicated instruction decoders that actually convert the CISC machine code into a RISC-like set of internal instructions known asmicrocodes. These microcodes are then fed into the internal core of the processor, which is based on the RISC design.
| Wikipedia has related information atcontrol store. |
| Wikipedia has related information atmicrocode. |
The most common way[citation needed] to implement memory-memory architecture CPUs (even with single-chip microprocessors, not just wire-wrapped machines) uses a small "control store" ROM.The output data bits of the control store are latched in the microinstruction register[1][2][3][4][5](reminiscent of the way instructions fetched from RAM are latched in the instruction register).The clock signal determining the cycle time of the system primarily clocks the microinstruction register.The bits stored in the microinstruction register directly control everything that goes on in the CPU.(In some processors, the microinstruction register is the only thing connected to the clock signal.Later we will discuss "pipelining", a technique involving pipeline registers connected to the clock signal).
Some of the bits in the microinstruction register do nothing but drive some of the address bits of the control store.Those bits -- that sub-field of the pipeline register -- is sometimes called the "microprogram counter", even though it is merely a latch -- typically the control store is programmed such that those bits increment on every clock cycle, and reset to zero when a new instruction is loaded into the instruction register.The instruction register directly drives some of the address lines of the control store ROM.A few more address lines of the control store ROM are driven by status bits such as the Z flag and the C flag.
Some CPUs, such as the ECOMIPS[6], the Intel Core 2 and the Intel Xeon,[7]use "writable microcode" -- rather than storing the microcode in ROM or hard-wired logic, the microcode is stored in a RAM called a Writable Control Store or WCS.
| Wikipedia has related information at microsequencer. |