The computer can automatically complete the tasks submitted by the user. The basis is: the computer uses the principle of stored program control. Because of the stored program control principle, the computer can automatically complete the user's tasks according to the user's settings for the program.
The operating environment of this tutorial: Windows 7 system, DELL G3 computer.
The computer can automatically complete the tasks submitted by the user. The basis is: the computer uses the principle of stored program control.
The stored program principle is a design principle proposed by von Neumann in 1946 to store programs in the internal memory of a computer like data.
The principle of stored program is to store the program we write to solve a specific problem in the computer memory, and then execute the first instruction of the program according to the first address of the stored program in the memory. From now on, other instructions will be executed in the order specified by the program until the program ends.
1. First: send the program and data into the memory through the input and output devices.
General memory is divided into many storage units, each storage unit has an address number, so that programs and data are stored in a certain order, and the memory is also divided into several areas, such as a dedicated Stores the program area and the data area specifically for storing data.
2. Secondly: To execute the program, you must start from the first instruction and execute it one by one.
Under normal circumstances, the addresses are executed in order from small to large. When a conditional transfer instruction is encountered, the order of execution is changed. Every time an instruction is executed, it must go through three steps: the first step is to send the instruction from the memory to the decoder, which is called an instruction fetch; the second step is to decompose the instruction into opcodes and operands to generate Corresponding various control signals are sent to various electrical components; in the third step, corresponding operations are performed. This process is controlled by electronic circuits to achieve automatic and continuous work.
For more related knowledge, please visit the FAQ column!
The above is the detailed content of What is the basis for computers to automatically complete tasks submitted by users?. For more information, please follow other related articles on the PHP Chinese website!