Subject: Computer and Information Technology Application
The central processing unit (CPU), often known as the processor, sits at the brain of the computer. The main component of the entire computer system is the CPU. It is in charge of deciphering instructions and giving orders to all of the computer's parts. Logic and Arithmetic Units make up the central processing unit. The computer's complete system is controlled by the control unit. All computer operations are guided by this component.
Functions of CPU
The main functions that a Central Processing Unit performs are:
What is CPU?
Any computer's central processor unit (CPU) serves as its brain. It runs all of the computations on the computer. The CPU manages the other components of the computer system and carries out machine instructions, manipulating symbols, numbers, and characters. Three primary subsystems make up the central processing unit itself. The Control Unit is the first, followed by the Arithmetic and Logic Unit (ALU) and the Memory Unit. The control unit retrieves instructions one at a time from the main memory to carry out the program command. It also retrieves the necessary data for each command from the main memory, executes the operation, and puts the outcome back in the main memory. A CPU is a tiny, square-shaped component that sits inside a specially designed slot on the motherboard.
Buses of three different types connect the computer system's CPU, major storage, and other components. Data is moved to or from main memory through the data bus. The control bus transmits signals indicating whether to read or write data to or from the main memory address, input device, or output device. The address bus transmits signals for locating a certain address in main memory.
Functions of CPU:
A central processing unit performs these primary tasks:
How a CPU works:
CPU performs the following steps:
A fetch decode execute cycle is how a CPU operates. While carrying out the required instructions for a program, it follows a set of stages. In a memory, instructions are kept, and they do have unique addresses. The first instruction is fetched by the CPU when it turns on from a place determined by the program counter. The instructions that are expected to be carried out by the CPU are tracked by the address or location unit. The control unit decodes this instruction when it is brought into the instruction register. The assembly language codes are converted into binary numbers that the computer can interpret. Decoding is the process in question. The control unit would fetch the operand, perform arithmetic or logical operations on it, or put the outcome of such an operation into a designated memory location based on the instruction. The processor fetches and executes the following instruction after the previous one has been completed. This procedure continues up until the processor issues a halt instruction. A high number of registers, an advanced microprogram control unit, and an advanced arithmetic and logic unit would all be present in a real-world processor. The Pentium III and Pentium IV CPUs from Intel are now the most powerful ones in use.
What is a microprocessor?
The term "microprocessor" refers to a very large scale integrated circuit technology that merges the computer memory, logical, and control unit on a single chip. The Pentium Pro CPU offers mainframe and supercomputer-like processing capabilities and has more than 5 million transistors. Word length, clock speed, and data bus width are used in combination to gauge the microprocessor's speed. The speed of a computer increases with word length (32 bits or 4 bytes in a single cycle). Megahertz (MHz), which stands for millions of cycles per second, is a unit of measurement measuring the rate at which instructions are processed. A speedier computer has a greater clock speed. The movement of the data between the CPU, primary storage, and other devices through data bus determines how much data can be moved at a time.
The data bus width indicates the speed of the machine. By adopting Reduced Instruction Set Computer (RISC) in their design, microprocessors can be made quicker. Only the most commonly used instructions are embedded in RISC computers. A computer has many different types of processors inside. The price of the computer is influenced by speed and performance. Each manufacturer has a different process for designing and making its processor, which could affect how well they function. An instruction may occasionally not be directly accepted by another processor after being created for it.
The instruction register receives instructions one at a time to be performed efficiently in the required order. The decoder then decodes the operation code after receiving the operation code from the instructions. And in order to carry out the operation, it turns on the relevant circuits in the arithmetic and logic unit. Data from the location indicated in the instruction can be transferred to a specific accumulator for the arithmetic and logic unit using the address register.
It is regarded as the most significant component of the CPU since it supervises and directs the operations of all other computer system components. For instance, it accepts the information and commands from the input device and stores them in the computer's main memory. It carries out each of these tasks by sending commands to the appropriate computer component.
The execution of instructions issued to the computer is also under the direction of the control unit. It retrieves the data and instructions from the memory unit. Additionally, it decodes and carries out each instruction individually. The results are likewise sent to the output device by the control unit, which also transmits signals to it.
Reference:
Ghishing, Er.Ashim. Computer Science. Kathmandu, Nepal: Benchmark , 2008.
© 2021 Saralmind. All Rights Reserved.