Home > Common Problem > What is the basis for computers to be able to automatically complete calculations or processing processes?

What is the basis for computers to be able to automatically complete calculations or processing processes?

青灯夜游
Release: 2022-07-11 16:35:55
Original
5644 people have browsed it

The basis for computers to automatically complete calculations or processing processes is "stored programs". In the computer, a program written according to a specific problem is stored in the memory, and then the first instruction of the program is executed according to the first address of the stored program in the memory, and then other instructions are executed in the order specified by the program until the program ends; Therefore, stored programs are the basis for computers to automatically control processing.

What is the basis for computers to be able to automatically complete calculations or processing processes?

The operating environment of this tutorial: Windows 7 system, Dell G3 computer.

The basis for computers to automatically complete calculations or processing processes is "stored programs".

The principle of "stored program" is to store a program written according to 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, and then execute the following instructions Other instructions are executed in the order specified by the program until the program ends.

Therefore, stored programs are the basis for automatic control processing of computers.

Von Neumann structure (John von Neumann), that is, stored program, laid the basic structure of modern computers. Its characteristics are:

1) Use a single Processing components perform computation, storage, and communication tasks.

2) The storage unit is a fixed-length linear organization.

3) The units of storage space are directly addressable.

4) Using low-level machine language, instructions complete simple operations through opcodes.

5) Centralized sequence control over calculations.

6) The computer hardware system consists of five major components: arithmetic unit, memory, controller, input device, and output device and stipulates their basic functions.

7) Use binary form to represent data and instructions.

8) When executing programs and processing data, the programs and data must be loaded from the external memory into the main memory, and then the computer can automatically adjust the instructions to be fetched from the memory and executed during operation.

Explanation: The key point of the stored program and program control principle is that the program is input into the computer and stored in the internal memory (storage principle). When running, the controller operates in address order Fetch the instructions stored in the internal memory (access instructions in address order), then analyze the instructions, execute the instruction's function, and when a transfer instruction is encountered, transfer to the transfer address, and then access the instructions in address order (program control).

For more related knowledge, please visit the FAQ column!

The above is the detailed content of What is the basis for computers to be able to automatically complete calculations or processing processes?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template