SlideShare a Scribd company logo
02 cpu final
The CPU
The CPU
 Converts data into information
 Control center
 Set of electronic circuitry that executes stored
program instructions
 Two parts
 Control Unit (CU)
 Arithmetic Logic Unit (ALU)
Control Unit
CU
 Part of the hardware that is in-charge
 Directs the computer system to execute stored
program instructions
 Communicates with other parts of the hardware
Arithmetic Operations
Addition
Subtraction
Multiplication
Division
Logical Operations
 Evaluates conditions
 Makes comparisons
 Can compare
 Numbers
 Letters
 Special characters
Registers
Special-purpose
High-speed
Temporary storage
Located inside CPU
Instruction register
Holds instruction currently
being executed
Data register
Holds data waiting to be
processed
Holds results from processing
Types of Storage
 Secondary
 Data that will eventually be used
 Long-term
 Memory
 Data that will be used in the near future
 Temporary
 Faster access than storage
 Registers
 Data immediately related to the operation being
executed
 Faster access than memory
Measuring Storage Capacity
KB – kilobyte
• 1024 bytes
• Some diskettes
• Cache memory
MB – megabyte
• Million bytes
• RAM
GB – gigabyte
• Billion bytes
• Hard disks
• CDs and DVDs
TB – terabytes
• Trillion bytes
• Large hard disks
Memory
Many Names
Primary storage
Primary memory
Main storage
Internal storage
Main memory
Main Types of Memory
RAM
Random Access Memory
ROM
Read Only Memory
RAM
 Requires current to retain values
 Volatile
 Data and instructions can be read and modified
 Users typically refer to this type of memory
What’s in RAM?
 Operating System
 Program currently running
 Data needed by the program
 Intermediate results waiting to be output
ROM
 Non-volatile
 Instructions for booting the computer
 Data and instructions can be read, but not modified
 Instructions are typically recorded at factory
Executing Programs CU gets an instruction and places it in memory
 CU decodes the instruction
 CU notifies the appropriate part of hardware to take
action
 Control is transferred to the appropriate part of
hardware
 Task is performed
 Control is returned to the CU
Machine Cycle
I-time
 CU fetches an instruction from memory and puts
it into a register
 CU decodes the instruction and determines the
memory location of the data required
Machine Cycle
E-time
 Execution
 CU moves the data from memory to registers in the
ALU
 ALU is given control and executes the instruction
 Control returns to the CU
 CU stores the result of the operation in
memory or in a register
System Clock
 System clock produces pulses at a fixed rate
 Each pulse is one Machine Cycle
 One program instruction may actually be several
instructions to the CPU
 Each CPU instruction will take one pulse
 CPU has an instruction set – instructions that it
can understand and process
Finding Data in Memory
 Each location in memory has a unique address
 Address never changes
 Contents may change
 Memory location can hold one instruction or piece of
data
 Programmers use symbolic names
Data Representation
On/Off
Binary number system is used
to represent the state of the
circuit
Bits, Bytes, Words
 BIT
 Binary DigIT
 On/off circuit
 1 or 0
 BYTE
 8 bits
 Store one alphanumeric character
 WORD
 Size of the register
 Number of BITS that the CPU processes as a unit
02 cpu final

More Related Content

PPT
1353142173system unit
PPTX
Basic organisation of computer system
PDF
computer system structure
PPT
HHCJ AMUMARA: COMPUTER STUDIES LECTURE NOTE FOR SS2-001
PPTX
Computer organisation
PPT
Fp203 chp1.1
PDF
operating system structure
1353142173system unit
Basic organisation of computer system
computer system structure
HHCJ AMUMARA: COMPUTER STUDIES LECTURE NOTE FOR SS2-001
Computer organisation
Fp203 chp1.1
operating system structure

What's hot (20)

PPTX
ICT Lecture-1
PDF
ITFT_Device management in Operating System
PPTX
Computer hardware course
PPTX
The cpu cycle
PPTX
Block Diagram of Computer
PPTX
Block diagram of a computer
PPT
Basic os-concepts
PPTX
Computer Hardware and Software - R.D.Sivakumar
PPTX
PDF
Unit 9 basic system configuration tools
PPTX
Block diagram of computer
PPTX
BASIC COMPUTER ARCHITECTURE
PPTX
Computer Hardware Complete Guide Easy
PPT
PDF
Components of Computer System
PPSX
COMPUTER HARDWARE AND SOFTWARE
PPTX
Building Block Diagram of Computer | Process of CPU | Input unit | Processing...
PPT
Computer components
PPTX
COMPUTER SYSTEM AND ITS COMPONENTS
PPT
ICT Lecture-1
ITFT_Device management in Operating System
Computer hardware course
The cpu cycle
Block Diagram of Computer
Block diagram of a computer
Basic os-concepts
Computer Hardware and Software - R.D.Sivakumar
Unit 9 basic system configuration tools
Block diagram of computer
BASIC COMPUTER ARCHITECTURE
Computer Hardware Complete Guide Easy
Components of Computer System
COMPUTER HARDWARE AND SOFTWARE
Building Block Diagram of Computer | Process of CPU | Input unit | Processing...
Computer components
COMPUTER SYSTEM AND ITS COMPONENTS
Ad

Viewers also liked (12)

DOCX
ESSAY 1 COLLOQUIUM and updated references
PPT
PPTX
5. Insurance considerations
PDF
Institucional
DOC
Ballerstedt.4.29
DOCX
ANIKET RESUME NEW
PPTX
Liberty Youth Ranch.power point
PDF
Trading Derivados14/03/2013
PDF
CATALOGO DE COMPAÑIAS
DOCX
theory 3 assignment foundtions
DOCX
проектная работа Days of the week дни недели (1)
ESSAY 1 COLLOQUIUM and updated references
5. Insurance considerations
Institucional
Ballerstedt.4.29
ANIKET RESUME NEW
Liberty Youth Ranch.power point
Trading Derivados14/03/2013
CATALOGO DE COMPAÑIAS
theory 3 assignment foundtions
проектная работа Days of the week дни недели (1)
Ad

Similar to 02 cpu final (20)

PPTX
CPU ARCHITECTURE and COMPUTER PROGRAMS G
PPTX
oLecture09-Internal Organization of CPU.pptx
PDF
2 the computer system hardware
PPT
PDF
fundamentals of digital communication unit 2 notes.pdf
PPTX
Computer architecture unit 1 ppt for IT students
PPTX
Chap2 comp architecture
PPTX
3.1 - CPU Architecture and Fetch Execute - JR.pptx
PDF
ICT - Lecture Notes 3.pdf
PDF
Microcontroller part 1
PPT
Unit 1 COMPUTER_ORGANIZATION.ppt ........
PPT
Unit 1 COMPUTER_ORGANIZATION.ppt whenekeuen
PPTX
The central processing unit by group 5 2015
PDF
CPU Architecture
PDF
MI Unit-1.pdf a detailed presentation on microprocessors
PDF
Computer System Architecture - Computer System Architecture
PPTX
basicfunctionalunit-190124043726555.pptx
PPT
The CPU and Memory and Major Components
PPTX
chapter2.pptxttttttttttttttttttttttttttt
CPU ARCHITECTURE and COMPUTER PROGRAMS G
oLecture09-Internal Organization of CPU.pptx
2 the computer system hardware
fundamentals of digital communication unit 2 notes.pdf
Computer architecture unit 1 ppt for IT students
Chap2 comp architecture
3.1 - CPU Architecture and Fetch Execute - JR.pptx
ICT - Lecture Notes 3.pdf
Microcontroller part 1
Unit 1 COMPUTER_ORGANIZATION.ppt ........
Unit 1 COMPUTER_ORGANIZATION.ppt whenekeuen
The central processing unit by group 5 2015
CPU Architecture
MI Unit-1.pdf a detailed presentation on microprocessors
Computer System Architecture - Computer System Architecture
basicfunctionalunit-190124043726555.pptx
The CPU and Memory and Major Components
chapter2.pptxttttttttttttttttttttttttttt

Recently uploaded (20)

PPTX
Institutional Correction lecture only . . .
PDF
Mark Klimek Lecture Notes_240423 revision books _173037.pdf
PPTX
Renaissance Architecture: A Journey from Faith to Humanism
PDF
RMMM.pdf make it easy to upload and study
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PDF
Business Ethics Teaching Materials for college
PDF
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
PPTX
Week 4 Term 3 Study Techniques revisited.pptx
PDF
Complications of Minimal Access Surgery at WLH
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PPTX
PPH.pptx obstetrics and gynecology in nursing
PPTX
Pharma ospi slides which help in ospi learning
PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PDF
Basic Mud Logging Guide for educational purpose
PPTX
master seminar digital applications in india
PDF
Pre independence Education in Inndia.pdf
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
Institutional Correction lecture only . . .
Mark Klimek Lecture Notes_240423 revision books _173037.pdf
Renaissance Architecture: A Journey from Faith to Humanism
RMMM.pdf make it easy to upload and study
Final Presentation General Medicine 03-08-2024.pptx
Business Ethics Teaching Materials for college
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
Week 4 Term 3 Study Techniques revisited.pptx
Complications of Minimal Access Surgery at WLH
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PPH.pptx obstetrics and gynecology in nursing
Pharma ospi slides which help in ospi learning
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
Basic Mud Logging Guide for educational purpose
master seminar digital applications in india
Pre independence Education in Inndia.pdf
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
Pharmacology of Heart Failure /Pharmacotherapy of CHF
Microbial diseases, their pathogenesis and prophylaxis
Chapter 2 Heredity, Prenatal Development, and Birth.pdf

02 cpu final

  • 3. The CPU  Converts data into information  Control center  Set of electronic circuitry that executes stored program instructions  Two parts  Control Unit (CU)  Arithmetic Logic Unit (ALU)
  • 4. Control Unit CU  Part of the hardware that is in-charge  Directs the computer system to execute stored program instructions  Communicates with other parts of the hardware
  • 6. Logical Operations  Evaluates conditions  Makes comparisons  Can compare  Numbers  Letters  Special characters
  • 7. Registers Special-purpose High-speed Temporary storage Located inside CPU Instruction register Holds instruction currently being executed Data register Holds data waiting to be processed Holds results from processing
  • 8. Types of Storage  Secondary  Data that will eventually be used  Long-term  Memory  Data that will be used in the near future  Temporary  Faster access than storage  Registers  Data immediately related to the operation being executed  Faster access than memory
  • 9. Measuring Storage Capacity KB – kilobyte • 1024 bytes • Some diskettes • Cache memory MB – megabyte • Million bytes • RAM GB – gigabyte • Billion bytes • Hard disks • CDs and DVDs TB – terabytes • Trillion bytes • Large hard disks
  • 10. Memory Many Names Primary storage Primary memory Main storage Internal storage Main memory
  • 11. Main Types of Memory RAM Random Access Memory ROM Read Only Memory
  • 12. RAM  Requires current to retain values  Volatile  Data and instructions can be read and modified  Users typically refer to this type of memory
  • 13. What’s in RAM?  Operating System  Program currently running  Data needed by the program  Intermediate results waiting to be output
  • 14. ROM  Non-volatile  Instructions for booting the computer  Data and instructions can be read, but not modified  Instructions are typically recorded at factory
  • 15. Executing Programs CU gets an instruction and places it in memory  CU decodes the instruction  CU notifies the appropriate part of hardware to take action  Control is transferred to the appropriate part of hardware  Task is performed  Control is returned to the CU
  • 16. Machine Cycle I-time  CU fetches an instruction from memory and puts it into a register  CU decodes the instruction and determines the memory location of the data required
  • 17. Machine Cycle E-time  Execution  CU moves the data from memory to registers in the ALU  ALU is given control and executes the instruction  Control returns to the CU  CU stores the result of the operation in memory or in a register
  • 18. System Clock  System clock produces pulses at a fixed rate  Each pulse is one Machine Cycle  One program instruction may actually be several instructions to the CPU  Each CPU instruction will take one pulse  CPU has an instruction set – instructions that it can understand and process
  • 19. Finding Data in Memory  Each location in memory has a unique address  Address never changes  Contents may change  Memory location can hold one instruction or piece of data  Programmers use symbolic names
  • 20. Data Representation On/Off Binary number system is used to represent the state of the circuit
  • 21. Bits, Bytes, Words  BIT  Binary DigIT  On/off circuit  1 or 0  BYTE  8 bits  Store one alphanumeric character  WORD  Size of the register  Number of BITS that the CPU processes as a unit