Central Processing Unit, refers to computer hardware that understand and execute commands and data from the software. Another term, the processor (data processing), often used to refer to the CPU. The microprocessor is the CPU that is produced in integrated circuits, often in a package-a single integrated circuit. Since the mid-1970s, microprocessors, integrated circuits have a single common use and become an important aspect in the implementation of the CPU.CPU component is divided into several types, namely as follows.
* Control unit that organizes the course of the program. This component is certainly present in all the computer controls CPU.CPU duty resulting in synchronization between the components work in carrying out operations functions. included in the control unit responsibility is to take instructions, instructions from main memory and determine the type of instruction. If there are instructions for arithmetic or logical comparisons, the control unit will send instructions to the ALU. Results from processing the data carried by the control unit to the main memory for storage, and in time will be presented to the output device. Thus the task of this control unit are:
• Organize and control the input devices and output. • Taking instructions from main memory. • Importing data from main memory (if necessary) to be processed. • Sending instructions to the ALU when there is a comparison arithmetic or logic, and oversees the work of the ALU. • Save the results to the main memory.
* Register is a small storage device that has a high access speed, which is used to store data and / or instructions that are processed. This memory is temporary, usually used to store data if or when the data for further processing. By analogy, these registers can be likened to a memory in the brain when we do data processing manually, so the brain can be likened to the CPU, which contains memories, control units that regulate the activities of the body and have a place to perform calculations and logical comparisons.
* ALU units assigned to perform arithmetic operations and logic operations defined by instructions. ALU often called machine language for this section ALU consists of two parts, namely arithmetika units and boolean logic units, each of which has its own job specifications. The main task of the ALU is to perform all arithmetic calculations (math) which occurs in accordance with the instructions of the program. ALU perform all the basic arithmetic operations so that the sum of the electronic circuitry that is used is called adder.
Another task of the ALU is to make a decision of a logic operation in accordance with the instructions of the program. Logic operation involves two Operands comparisons using specific logic operator, which is equal to (=), not equal to (¹), less than (), and greater or equal to (³).
* Interconnections are CPU and bus connection system that connects the CPU's internal components, ie ALU, control unit and registers as well as the external buses connecting the CPU with other systems, such as main memory, device input / output.
0 komentar:
Posting Komentar