Re complete
description
Transcript of Re complete
![Page 1: Re complete](https://reader035.fdocuments.in/reader035/viewer/2022062418/555a3a87d8b42a83368b4b07/html5/thumbnails/1.jpg)
![Page 2: Re complete](https://reader035.fdocuments.in/reader035/viewer/2022062418/555a3a87d8b42a83368b4b07/html5/thumbnails/2.jpg)
Introduction :
Name : Muhammad Ashib Altaf.
Registration number : F12-1028-(A)
![Page 3: Re complete](https://reader035.fdocuments.in/reader035/viewer/2022062418/555a3a87d8b42a83368b4b07/html5/thumbnails/3.jpg)
Presentation Topics
Central Processing Unit (CPU)
Control Unit (CU)
Arithmetic Logic Unit (ALU)
Registers
Instruction Set
Processor Speed
Types of Processor
![Page 4: Re complete](https://reader035.fdocuments.in/reader035/viewer/2022062418/555a3a87d8b42a83368b4b07/html5/thumbnails/4.jpg)
Central Processing Unit (CPU)
• The brain of computer system.
• Performs all major calculations and comparisons.
• Activates and controls the operations of other units of a computer system.
• Two basic components are:
1. Arithmetic Logic Unit (ALU)2. Control Unit (CU)
![Page 5: Re complete](https://reader035.fdocuments.in/reader035/viewer/2022062418/555a3a87d8b42a83368b4b07/html5/thumbnails/5.jpg)
Arithmetic Logic Unit (ALU) :
• In computing, an arithmetic logic unit (ALU) is a digital circuit that performs arithmetic and logical operations.
• Now, modern microprocessors, microcontrollers and CPUs have very powerful and very complex ALUs, also a CPU may contain up to more than 4 ALUs.
![Page 6: Re complete](https://reader035.fdocuments.in/reader035/viewer/2022062418/555a3a87d8b42a83368b4b07/html5/thumbnails/6.jpg)
Operations of Arithmetic Logic Unit (ALU) :
• The ALU (Arithmetic/Logic Unit) performs.
• Mathematical operations (+, -, x, /, ^,…)
• Logic operations (=, <, >, and, or, not, ...)
![Page 7: Re complete](https://reader035.fdocuments.in/reader035/viewer/2022062418/555a3a87d8b42a83368b4b07/html5/thumbnails/7.jpg)
Control Unit:
• One of the two basic components of CPU.
• Acts as the central nervous system of a computer system.
• Selects and interprets program instructions, and coordinates execution.
• Has some special purpose registers and a decoder to perform these activities.
![Page 8: Re complete](https://reader035.fdocuments.in/reader035/viewer/2022062418/555a3a87d8b42a83368b4b07/html5/thumbnails/8.jpg)
Basic Cycle of Control Unit :
![Page 9: Re complete](https://reader035.fdocuments.in/reader035/viewer/2022062418/555a3a87d8b42a83368b4b07/html5/thumbnails/9.jpg)
Structure of the Control Unit :
• PC (Program Counter):◦stores the address of next instruction to fetch
• IR (Instruction Register):◦stores the current instruction.
• Instruction Decoder:◦Decodes instruction and activates
necessary circuitry
![Page 10: Re complete](https://reader035.fdocuments.in/reader035/viewer/2022062418/555a3a87d8b42a83368b4b07/html5/thumbnails/10.jpg)
Functions of the control unit
![Page 11: Re complete](https://reader035.fdocuments.in/reader035/viewer/2022062418/555a3a87d8b42a83368b4b07/html5/thumbnails/11.jpg)
Registers:
• Special memory units , called registers are used to hold information on a temporary bases as the instructions are interpreted and executed by the CPU.
• Registers are part of the CPU of a computer.
• The length of a register , also known Word Size , equals the numbers of bits it can store.
• CPU with 32bit register can process data twice larger than one with 16bit register.
![Page 12: Re complete](https://reader035.fdocuments.in/reader035/viewer/2022062418/555a3a87d8b42a83368b4b07/html5/thumbnails/12.jpg)
Functions of commonly used Registers:
![Page 13: Re complete](https://reader035.fdocuments.in/reader035/viewer/2022062418/555a3a87d8b42a83368b4b07/html5/thumbnails/13.jpg)
CPU and main memory connected via a bus
2-13
![Page 14: Re complete](https://reader035.fdocuments.in/reader035/viewer/2022062418/555a3a87d8b42a83368b4b07/html5/thumbnails/14.jpg)
Processor Speed:
• A computer has a built-in system Clock that emits millions of regularly spaced electric pulses per second(known as clock cycles)
• It takes one cycle to perform a basic operation, such as moving a byte of data from one memory location to another.
![Page 15: Re complete](https://reader035.fdocuments.in/reader035/viewer/2022062418/555a3a87d8b42a83368b4b07/html5/thumbnails/15.jpg)
Processor Speed:
• Normally, several clock cycles are required to Fetch, Decode, and Execute a single program instruction.
• Shorter the clock cycle, Faster the processor.
![Page 16: Re complete](https://reader035.fdocuments.in/reader035/viewer/2022062418/555a3a87d8b42a83368b4b07/html5/thumbnails/16.jpg)
Types of Processor:
![Page 17: Re complete](https://reader035.fdocuments.in/reader035/viewer/2022062418/555a3a87d8b42a83368b4b07/html5/thumbnails/17.jpg)
Types of Processor:
![Page 18: Re complete](https://reader035.fdocuments.in/reader035/viewer/2022062418/555a3a87d8b42a83368b4b07/html5/thumbnails/18.jpg)
Types of Processor:
![Page 19: Re complete](https://reader035.fdocuments.in/reader035/viewer/2022062418/555a3a87d8b42a83368b4b07/html5/thumbnails/19.jpg)