To speed up program execution, you must speed up command execution.As a result, there are two development directions for the command system.
CISC:Complex Instruction Set computer systems, new commands, and enhanced command functions, however, will lead to more and more instructions, and the command system becomes complex
Proteus:Streamline the instruction set computer system, retain necessary commands, and reduce the number of commands
As you can see,CISC is to combine multiple commands into one strong-Function Command, which removes strong-function commands and implements the function of strong-function commands by the most basic commands.. One is combination, and the other is split. Why can the speed of program execution be improved?
Combination:Commands generally require the process of decoding, analyzing, and executing. If four commands are combined into one, only one time is required for decoding and analysis, instead of four, this speeds up command execution.
Split:Assume that the command execution logic is divided into multiple sub-processes based on actual needs. For example, the four functional components are set, which are: Take the pointer, decode, analyze, and execute, allows overlapping execution of commands. If commands are not as regular as CISC, the pipeline will be less efficient.
Hard wiring:It is fast to set commands in circuit mode, but it is difficult to modify
Microprogram:Commands are placed in the control memory, which is slower than hard wiring, but it is easy to modify and add new commands.
CISC will cause more and more complicated commands, and the original commands cannot be deleted for the sake of compatibility. If hard wiring is used, the design of the command system will become more and more complex, moreover, it is difficult to modify the command. It is easy to add instructions when using Microprograms. Therefore, CISC generally uses microprogram control.
The command is simplified and the most basic command is retained. Therefore, the command is relatively simple. In addition, in order to use the assembly line technology, the command is also relatively regular. Therefore, it is suitable for using hard wiring control.
Why is it that CISC does not require hard cabling, but that is not controlled by Microprograms?