Working principle computer controller Memory Program
Computer Architecture:
| -- CPU
| -- Publisher
| -- Controller
| -- Memory
| -- I/O
| -- Enter the device
| -- Output device
How does a computer implement 1 + 1 = 2?
1 + 1 = 2, is a program, program = Data + command;
The operands are data, and the "+" operation commands are all stored in the memory;
The CPU obtains data and operation instructions from the memory through the address bus and control bus;
The CPU uses the host to perform addition operations, and saves the operation results to the memory through the address bus and data bus;
The program displays the computing results in the memory to the user.
The above roughly introduces the fundamental working principles of computers. Next, we will introduce the functions of the five major components of computers and how they work collaboratively.
Computation and logic judgment
Controller: coordinates the work between peripheral components and units.
Storage: stores data and commands.
Input/output device: Responsible for input and output data
650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M02/4D/91/wKiom1RTSmnTj75gAAAviv2Hx68223.gif "Title =" computer five major units .gif "alt =" wkiom1rtsmntj75gaaaviv2hx68223.gif "/>
Note that:
All CPU data comes from the memory. Both commands and data must be written into the memory before being used by the CPU.
External storage devices, such as hard disks and CPUs, must first pass I/O
Read the data to the memory, and then obtain the data from the memory.
Five computer components