

What is the main reason why computers can automatically work according to people's will?
Mainly uses stored program control. The instruction sequence and data that direct the computer to operate are stored in the internal memory in advance; during operation, the controller fetches the instructions stored in the internal memory in address order, then analyzes the instructions and executes the function of the instructions. When a transfer instruction is encountered, Then transfer to the transfer address, and then access instructions (program control) in address order.
The operating environment of this tutorial: Windows 7 system, Dell G3 computer.
The reason why computers can automatically work according to people's will is mainly due to the use of stored program control.
Stored program control refers to stored program and program control. The program is input into the computer and stored in the internal memory (storage principle). When running, the controller presses the address The instructions stored in the internal memory are sequentially fetched (instructions are accessed in address order), then the instructions are analyzed, and the function of the instruction is executed. When a transfer instruction is encountered, the transfer address is transferred, and the instructions are accessed in address order (program control).
Working principle
First, the program and data are sent into the memory through the input and output devices. General memory is divided into many [2] 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 program storage area. and a data area dedicated to storing data. 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. When running, the controller fetches the instructions stored in the internal memory in address order (access instructions in address order), then analyzes the instructions and executes the function of the instructions. When a transfer instruction is encountered, it transfers to the transfer address, and then in address order access instructions.
For more related knowledge, please visit the FAQ column!
The above is the detailed content of What is the main reason why computers can automatically work according to people's will?. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Zend Studio 13.0.1
Powerful PHP integrated development environment

PhpStorm Mac version
The latest (2018.2.1) professional PHP integrated development tool

SecLists
SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.

SublimeText3 English version
Recommended: Win version, supports code prompts!
