The basis for computers to realize automatic control processing is stored programs; stored programs are programs described in computer language. The entire program is stored in the memory, and "instructions" and "data" are stored in the memory with equal status, so as to facilitate Machine automatically reads and processes automatically.
The operating environment of this tutorial: Windows 10 system, DELL G3 computer.
The basis for computers to realize automatic processing is stored programs.
A stored program is a program (sequence of instructions) described in computer language, and the entire program is stored in memory.
Save "instructions" and "data" in the memory with equal status, so that the machine can automatically read and process them.
The reason why "program" and "data" are stored in the memory in advance is because the input speed cannot meet the processing speed of the machine. In order for the machine to process continuously and automatically, it is necessary to "store the program".
The basic condition required for a computer to realize automatic control processing is a stored program. The key point of the stored program and program control principles is that the program is input into the computer and stored in the internal memory. During operation, the controller fetches the instructions stored in the internal memory in order of address.
Then analyze the instruction and execute the function of the instruction. When encountering a transfer instruction, transfer to the transfer address, and then access the instructions in address order. Then execute the first instruction of the program according to the first address of the stored program in the memory, and then execute other instructions in the order specified by the program until the program ends.
Extended information:
The computer system consists of two major parts: hardware system and software system. Its characteristics are: using a single processing component to complete computing, storage and communication work. The storage unit is a linear organization of fixed length. The units of storage space are directly addressable.
Using low-level machine language, instructions use opcodes to complete simple operations. Centralized sequential control of calculations. The computer hardware system consists of five major components: arithmetic unit, memory, controller, input device, and output device and stipulates their basic functions.
For more related knowledge, please visit the FAQ column!
The above is the detailed content of What is the basis for computer automatic control processing?. For more information, please follow other related articles on the PHP Chinese website!