Computer Structure: Central Processing Unit
CPU |
The Main Memory (Primary Memory)
The Control Unit
The Arithmetic/Logical Unit (ALU)
The Main Memory (Primary Memory)
The memory of a computer can hold program instructions, data values, and the intermediate results of calculations. All the information in memory is encoded in fixed size cells called bytes. A byte can hold a small amount of information, such as a single character or a numeric value between 0 and 255.Main Memory is the working memory of the CPU, with fast access and limited numbers of bytes being transferred. The main memory of the computer is also known as RAM, which stands for Random Access Memory (Main Memory). It is constructed from integrated circuits and needs to have electrical power in order to maintain its information. When power is lost, the information is lost as well. It can be directly accessed by the CPU.
Recommend To Read: Computer Concepts
Main memory is expensive compared to external memory so it has limited capacity. The CPU will normally transfer data to and from the main memory in groups of two, four or eight bytes, even if the operation it is undertaking only requires a single byte.
External Memory (Secondary Memory)
External memory is for the long term storage of information. Data from external memory will be transferred to the main memory before the CPU can operate on it. Access to the external memory is much slower, and usually involves groups of several hundred bytes. External memory which is sometimes called backing store or secondary memory, allows the permanent storage of large quantities of data. The capacity of external memory is high, usually measured in hundreds of megabytes or gigabytes even in tetrabyte at present. External memory has the important property that the information stored is not lost when the computer is switched off. The most common form of external memory is a hard disc which is permanently installed in the computer and will typically have a capacity of hundreds of megabytes.The Control Unit
This controls the fetching of instructions from the main memory and the subsequent execution of these instructions. Among other tasks carried out are the control of input and output devices and the passing of data to the Arithmetic/Logical Unit for computation.Arithmetic-Logic Unit (ALU)
An arithmetic-logic unit (ALU) is part of a computer processor (CPU) that carries out arithmetic and logic operations on the operands in computer instruction words. In some processors, the ALU is divided into two units, an arithmetic unit (AU) and a logic unit (LU).Arithmetic Logic Unit |
Previous: Input Unit Next: Computer Structure - Output Unit
No comments: