SlideShare a Scribd company logo
1 of 17
System Unit
Working of CPU
The CPU
CPU
The CPU
• CPU stands for central processing unit. it is brain of computer
• It is most important component of the computer. it is also
called processor.
• Converts data into information
• It continually receives instructions to execute. Each instruction
tells CPU to process data.
• CPU performs all operations on data according to the given
instructions.
• It executes instructions and tells other parts of computers what
to do.
• Most of the work consists of calculations and data transfer.
• Two parts
– Control Unit (CU)
– Arithmetic and Logic Unit (ALU)
Control Unit
CU
• Control Unit is an important component of CPU. It acts Like a
supervisor of the computer.
• It controls all activities of the computer system
• All the computers resources are managed from the control unit.
• Think of the control unit as a traffic signal directing the flow of data
through the CPU.
• The CPU´s instruction for carrying out commands are built into the
control unit.
• The instruction or instruction set, list all the operations that the CPU
can perform.
• Each instruction in the instruction set is a series of basic directions
that tell the CPU how to execute more complex operations.
Control Unit
CU
It performs the following operations:
1. It fetches or retrieve instruction from main memory.
2. It interprets the instruction to find what operation is to
be performed.
3. It controls the execution of instruction. The control unit
determines the sequence in which computer programs
and instructions are executed
System Clock
• In computers, sequence is everything. The system clock
synchronizes the tasks in a computer, like loading data
before manipulating it, etc.
• The system clock is a circuit that emits a continuous
stream of precise high and low pulses that are all exactly
the same length.
• One clock cycle is the time that passes from the start of
one high pulse, until the start of the next.
• If several events are supposed to happen in one clock
cycle, the cycle is subdivided by inserting a circuit with a
known delay in it, thus providing more highs and more
lows.
Arithmetic / Logic Unit
ALU
ALU is a part of CPU. Actual Execution of instructions
takes place in this part. All Arithmetic and Logical
operations are performed in ALU.
It consists of two units
• Arithmetic Unit
Performs arithmetic operations
• Logic Unit
Performs logical operations
Arithmetic Operations
Addition
Subtraction
Multiplication
Division
Logical Operations
• Evaluates conditions
• Makes comparisons
• Can compare
– Numbers
– Letters
– Special characters
ALU
• When the control unit encounters an instruction that involves
arithmetic or logic , however, it passes that instruction to the
second component of the CPU, the ALU.
• The ALU performs these operations.
• ALU includes a group of registers--- high speed memory
locations built directly into the CPU that are used to hold the
data currently being processed.
ALU
• ALU will use the register to hold the data currently being used
for calculation.
For example
• CU might load two numbers from memory into the registers in
the ALU.
• Then it might tell the ALU divide the two numbers (an arithmetic
operation) or to see whether the numbers are equal (a logical
operation).
• The answer to this calculation will be stored in another register
before being sent out of the CPU.
Registers
• A location used for temporarily hold data
or instructions at the moment of execution
• The storage capacity of registers
measures in bytes (can be 1,2,4 or 8
bytes registers).
Registers in ALU
• Accumulator (Acc)
– storing intermediate results of computations
• Status Register (SR)
– to store the status of the result
Registers in CU
• Program Counter (PC)
– to contain the address of next instruction to
be executed
– keep a record of the sequence of execution.
• Instruction Register (IR)
– to contain instruction that is being executed.
Registers in CU
• Memory Address Register (MAR)
– to store the address of the data or instruction
to be processed
• Memory Data Register (MDR)
– to store data or instruction to be processed.
Registers in CPU
CPU
CU ALU
PC
MAR
MDR
IR
PSR
Acc

More Related Content

What's hot

Computer System Architecture
Computer System ArchitectureComputer System Architecture
Computer System ArchitectureBrenda Debra
 
Central Processing Unit (Instruction Circle)
Central Processing Unit (Instruction Circle)Central Processing Unit (Instruction Circle)
Central Processing Unit (Instruction Circle)muhd afiq
 
Processor structure and funtions
Processor structure and funtionsProcessor structure and funtions
Processor structure and funtionsMuhammad Ishaq
 
top level view of computer function and interconnection
top level view of computer function and interconnectiontop level view of computer function and interconnection
top level view of computer function and interconnectionSajid Marwat
 
Computer Organisation and Architecture
Computer Organisation and ArchitectureComputer Organisation and Architecture
Computer Organisation and ArchitectureSubhasis Dash
 
Chapter 1 basic structure of computers
Chapter 1  basic structure of computersChapter 1  basic structure of computers
Chapter 1 basic structure of computersGurpreet Singh
 
Computer Organisation & Architecture (chapter 1)
Computer Organisation & Architecture (chapter 1) Computer Organisation & Architecture (chapter 1)
Computer Organisation & Architecture (chapter 1) Subhasis Dash
 
Chapter 3 - Top Level View of Computer / Function and Interconection
Chapter 3 - Top Level View of Computer / Function and InterconectionChapter 3 - Top Level View of Computer / Function and Interconection
Chapter 3 - Top Level View of Computer / Function and InterconectionCésar de Souza
 
The central processing unit by group 5 2015
The central processing unit by group 5 2015The central processing unit by group 5 2015
The central processing unit by group 5 2015Tendai Karuma
 
Central processing unit (CPU)
Central processing unit (CPU)Central processing unit (CPU)
Central processing unit (CPU)Asad Sheikh
 
03 top level view of computer function and interconnection
03 top level view of computer function and interconnection03 top level view of computer function and interconnection
03 top level view of computer function and interconnectionSher Shah Merkhel
 
02 cpu final
02 cpu final02 cpu final
02 cpu finalAman Garg
 

What's hot (20)

FUNCTIONAL UNIT
FUNCTIONAL UNITFUNCTIONAL UNIT
FUNCTIONAL UNIT
 
Computer System Architecture
Computer System ArchitectureComputer System Architecture
Computer System Architecture
 
Central Processing Unit (Instruction Circle)
Central Processing Unit (Instruction Circle)Central Processing Unit (Instruction Circle)
Central Processing Unit (Instruction Circle)
 
Processor structure and funtions
Processor structure and funtionsProcessor structure and funtions
Processor structure and funtions
 
Cpu and its execution statements
Cpu and its execution statementsCpu and its execution statements
Cpu and its execution statements
 
top level view of computer function and interconnection
top level view of computer function and interconnectiontop level view of computer function and interconnection
top level view of computer function and interconnection
 
Parts of cpu
Parts of cpuParts of cpu
Parts of cpu
 
Control unit
Control unitControl unit
Control unit
 
Computer Organisation and Architecture
Computer Organisation and ArchitectureComputer Organisation and Architecture
Computer Organisation and Architecture
 
Chapter 1 basic structure of computers
Chapter 1  basic structure of computersChapter 1  basic structure of computers
Chapter 1 basic structure of computers
 
Computer Organisation & Architecture (chapter 1)
Computer Organisation & Architecture (chapter 1) Computer Organisation & Architecture (chapter 1)
Computer Organisation & Architecture (chapter 1)
 
Re complete
Re completeRe complete
Re complete
 
Chapter 3 - Top Level View of Computer / Function and Interconection
Chapter 3 - Top Level View of Computer / Function and InterconectionChapter 3 - Top Level View of Computer / Function and Interconection
Chapter 3 - Top Level View of Computer / Function and Interconection
 
The central processing unit by group 5 2015
The central processing unit by group 5 2015The central processing unit by group 5 2015
The central processing unit by group 5 2015
 
Central processing unit (CPU)
Central processing unit (CPU)Central processing unit (CPU)
Central processing unit (CPU)
 
03 top level view of computer function and interconnection
03 top level view of computer function and interconnection03 top level view of computer function and interconnection
03 top level view of computer function and interconnection
 
Intro to the unit
Intro to the unitIntro to the unit
Intro to the unit
 
02 cpu final
02 cpu final02 cpu final
02 cpu final
 
Parts of CPU
Parts of CPUParts of CPU
Parts of CPU
 
Co m1-1
Co m1-1Co m1-1
Co m1-1
 

Viewers also liked

Cвіт моїх захоплень
Cвіт моїх захопленьCвіт моїх захоплень
Cвіт моїх захопленьDzivinskay
 
захоплення
захопленнязахоплення
захопленняDzivinskay
 
Sesion 5 viernes impresion
Sesion 5 viernes impresionSesion 5 viernes impresion
Sesion 5 viernes impresiontomadedecisiones
 
ми раді познайомитися
ми раді познайомитисями раді познайомитися
ми раді познайомитисяDzivinskay
 
Copia de Club Atletismo Viso
Copia de Club Atletismo VisoCopia de Club Atletismo Viso
Copia de Club Atletismo VisoAntonio-Fx
 
Chattanooga Race For The Cure 2012 Team Captain Manual!
Chattanooga Race For The Cure 2012 Team Captain Manual!Chattanooga Race For The Cure 2012 Team Captain Manual!
Chattanooga Race For The Cure 2012 Team Captain Manual!smiller17
 
Antropologi Pembangun
Antropologi PembangunAntropologi Pembangun
Antropologi Pembangunputri_indah
 
робота з батьками
робота з батькамиробота з батьками
робота з батькамиDzivinskay
 
2012 Race For The Cure Sponsorship Opportunities
2012 Race For The Cure Sponsorship Opportunities2012 Race For The Cure Sponsorship Opportunities
2012 Race For The Cure Sponsorship Opportunitiessmiller17
 

Viewers also liked (19)

Cвіт моїх захоплень
Cвіт моїх захопленьCвіт моїх захоплень
Cвіт моїх захоплень
 
Verb to be
Verb to beVerb to be
Verb to be
 
захоплення
захопленнязахоплення
захоплення
 
Sesion 5 viernes impresion
Sesion 5 viernes impresionSesion 5 viernes impresion
Sesion 5 viernes impresion
 
Sesion 3 impresion
Sesion 3 impresionSesion 3 impresion
Sesion 3 impresion
 
Ppnu
PpnuPpnu
Ppnu
 
ми раді познайомитися
ми раді познайомитисями раді познайомитися
ми раді познайомитися
 
Sesion 7 impresion
Sesion 7 impresionSesion 7 impresion
Sesion 7 impresion
 
Copia de Club Atletismo Viso
Copia de Club Atletismo VisoCopia de Club Atletismo Viso
Copia de Club Atletismo Viso
 
Media tsk
Media tskMedia tsk
Media tsk
 
Chattanooga Race For The Cure 2012 Team Captain Manual!
Chattanooga Race For The Cure 2012 Team Captain Manual!Chattanooga Race For The Cure 2012 Team Captain Manual!
Chattanooga Race For The Cure 2012 Team Captain Manual!
 
Antropologi Pembangun
Antropologi PembangunAntropologi Pembangun
Antropologi Pembangun
 
робота з батьками
робота з батькамиробота з батьками
робота з батьками
 
Sosiologi agama
Sosiologi agamaSosiologi agama
Sosiologi agama
 
Lecture 21 22
Lecture 21 22Lecture 21 22
Lecture 21 22
 
2012 Race For The Cure Sponsorship Opportunities
2012 Race For The Cure Sponsorship Opportunities2012 Race For The Cure Sponsorship Opportunities
2012 Race For The Cure Sponsorship Opportunities
 
Sesion 6 impresion
Sesion 6 impresionSesion 6 impresion
Sesion 6 impresion
 
Lecture 15 16
Lecture 15 16Lecture 15 16
Lecture 15 16
 
Sesion 9 impresion
Sesion 9 impresionSesion 9 impresion
Sesion 9 impresion
 

Similar to 1353142173system unit

Block diagram of a computer
Block diagram of a computerBlock diagram of a computer
Block diagram of a computerQsrealm
 
03_Top Level View of Computer Function and Interconnection.ppt
03_Top Level View of Computer Function and Interconnection.ppt03_Top Level View of Computer Function and Interconnection.ppt
03_Top Level View of Computer Function and Interconnection.pptChABiDRazZaQ
 
Basic CPU (Central Processing Unit)
Basic CPU (Central Processing Unit)Basic CPU (Central Processing Unit)
Basic CPU (Central Processing Unit)Faraz Ahmed
 
Comp App Lect 2 System Unit.pptx
Comp App Lect 2 System Unit.pptxComp App Lect 2 System Unit.pptx
Comp App Lect 2 System Unit.pptxMehwishKanwal14
 
Discovery of computer
Discovery of computerDiscovery of computer
Discovery of computerZE Shan Rao
 
Central Processing Unit-6.pptx
Central Processing Unit-6.pptxCentral Processing Unit-6.pptx
Central Processing Unit-6.pptxIjazKhan326575
 
How The CPU Works.ppt
How The CPU Works.pptHow The CPU Works.ppt
How The CPU Works.pptAliJan481777
 
Fundamental units of computer
Fundamental units of computerFundamental units of computer
Fundamental units of computerSandeep Menon
 
2. Functional Components of Computing System.pptx
2. Functional Components of Computing System.pptx2. Functional Components of Computing System.pptx
2. Functional Components of Computing System.pptxSindhu Mani
 
Central Processing Unit(CPU)
Central Processing Unit(CPU)Central Processing Unit(CPU)
Central Processing Unit(CPU)ANSANS8
 

Similar to 1353142173system unit (20)

Science computer processor
Science computer processorScience computer processor
Science computer processor
 
Computer Architecture
Computer ArchitectureComputer Architecture
Computer Architecture
 
Block diagram of a computer
Block diagram of a computerBlock diagram of a computer
Block diagram of a computer
 
03_Top Level View of Computer Function and Interconnection.ppt
03_Top Level View of Computer Function and Interconnection.ppt03_Top Level View of Computer Function and Interconnection.ppt
03_Top Level View of Computer Function and Interconnection.ppt
 
Microprocessor
MicroprocessorMicroprocessor
Microprocessor
 
The Processor.pptx
The Processor.pptxThe Processor.pptx
The Processor.pptx
 
ch4.ppt
ch4.pptch4.ppt
ch4.ppt
 
IT workshop (CPU).pptx
IT workshop (CPU).pptxIT workshop (CPU).pptx
IT workshop (CPU).pptx
 
Basic CPU (Central Processing Unit)
Basic CPU (Central Processing Unit)Basic CPU (Central Processing Unit)
Basic CPU (Central Processing Unit)
 
Chap 3 CA.pptx
Chap 3 CA.pptxChap 3 CA.pptx
Chap 3 CA.pptx
 
Comp App Lect 2 System Unit.pptx
Comp App Lect 2 System Unit.pptxComp App Lect 2 System Unit.pptx
Comp App Lect 2 System Unit.pptx
 
Discovery of computer
Discovery of computerDiscovery of computer
Discovery of computer
 
Central Processing Unit-6.pptx
Central Processing Unit-6.pptxCentral Processing Unit-6.pptx
Central Processing Unit-6.pptx
 
How The CPU Works.ppt
How The CPU Works.pptHow The CPU Works.ppt
How The CPU Works.ppt
 
Fundamental units of computer
Fundamental units of computerFundamental units of computer
Fundamental units of computer
 
2. Functional Components of Computing System.pptx
2. Functional Components of Computing System.pptx2. Functional Components of Computing System.pptx
2. Functional Components of Computing System.pptx
 
Basic computer system
Basic computer systemBasic computer system
Basic computer system
 
cpu-200816132241.pdf
cpu-200816132241.pdfcpu-200816132241.pdf
cpu-200816132241.pdf
 
Central Processing Unit(CPU)
Central Processing Unit(CPU)Central Processing Unit(CPU)
Central Processing Unit(CPU)
 
Fp203 chp1.1
Fp203 chp1.1Fp203 chp1.1
Fp203 chp1.1
 

Recently uploaded

MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docxPoojaSen20
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfUmakantAnnand
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxRoyAbrique
 

Recently uploaded (20)

MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docx
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.Compdf
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
 

1353142173system unit

  • 3. CPU
  • 4. The CPU • CPU stands for central processing unit. it is brain of computer • It is most important component of the computer. it is also called processor. • Converts data into information • It continually receives instructions to execute. Each instruction tells CPU to process data. • CPU performs all operations on data according to the given instructions. • It executes instructions and tells other parts of computers what to do. • Most of the work consists of calculations and data transfer. • Two parts – Control Unit (CU) – Arithmetic and Logic Unit (ALU)
  • 5. Control Unit CU • Control Unit is an important component of CPU. It acts Like a supervisor of the computer. • It controls all activities of the computer system • All the computers resources are managed from the control unit. • Think of the control unit as a traffic signal directing the flow of data through the CPU. • The CPU´s instruction for carrying out commands are built into the control unit. • The instruction or instruction set, list all the operations that the CPU can perform. • Each instruction in the instruction set is a series of basic directions that tell the CPU how to execute more complex operations.
  • 6. Control Unit CU It performs the following operations: 1. It fetches or retrieve instruction from main memory. 2. It interprets the instruction to find what operation is to be performed. 3. It controls the execution of instruction. The control unit determines the sequence in which computer programs and instructions are executed
  • 7. System Clock • In computers, sequence is everything. The system clock synchronizes the tasks in a computer, like loading data before manipulating it, etc. • The system clock is a circuit that emits a continuous stream of precise high and low pulses that are all exactly the same length. • One clock cycle is the time that passes from the start of one high pulse, until the start of the next. • If several events are supposed to happen in one clock cycle, the cycle is subdivided by inserting a circuit with a known delay in it, thus providing more highs and more lows.
  • 8. Arithmetic / Logic Unit ALU ALU is a part of CPU. Actual Execution of instructions takes place in this part. All Arithmetic and Logical operations are performed in ALU. It consists of two units • Arithmetic Unit Performs arithmetic operations • Logic Unit Performs logical operations
  • 10. Logical Operations • Evaluates conditions • Makes comparisons • Can compare – Numbers – Letters – Special characters
  • 11. ALU • When the control unit encounters an instruction that involves arithmetic or logic , however, it passes that instruction to the second component of the CPU, the ALU. • The ALU performs these operations. • ALU includes a group of registers--- high speed memory locations built directly into the CPU that are used to hold the data currently being processed.
  • 12. ALU • ALU will use the register to hold the data currently being used for calculation. For example • CU might load two numbers from memory into the registers in the ALU. • Then it might tell the ALU divide the two numbers (an arithmetic operation) or to see whether the numbers are equal (a logical operation). • The answer to this calculation will be stored in another register before being sent out of the CPU.
  • 13. Registers • A location used for temporarily hold data or instructions at the moment of execution • The storage capacity of registers measures in bytes (can be 1,2,4 or 8 bytes registers).
  • 14. Registers in ALU • Accumulator (Acc) – storing intermediate results of computations • Status Register (SR) – to store the status of the result
  • 15. Registers in CU • Program Counter (PC) – to contain the address of next instruction to be executed – keep a record of the sequence of execution. • Instruction Register (IR) – to contain instruction that is being executed.
  • 16. Registers in CU • Memory Address Register (MAR) – to store the address of the data or instruction to be processed • Memory Data Register (MDR) – to store data or instruction to be processed.
  • 17. Registers in CPU CPU CU ALU PC MAR MDR IR PSR Acc