SlideShare a Scribd company logo
1 of 31
Microprocessor
Systems
Microprocessor Systems
 Definition: A complete electronic system built
around the microprocessor to support the
microprocessor operation.
 May consist of CPU, memory, I/O (disk drives,
keyboard, mouse), system bus, and supporting
circuitry.
 CPU as the “brain” – controls actions of all
components.
Microprocessor System - PC
ROM
Keyboard Mouse HDD
Floppy RAM
CD-ROM
Supporting
CircuitryCPU
Microprocessor System - Calculator
Keypad
Memory
Power Supply LCD DisplayCPU
System Bus
 A µP-based system consists of many
components:
 CPU.
 Memory.
 I/O: disk drives, keyboard, mouse.
 System Bus.
 Supporting circuitry.
 All components communicate using System Bus.
System Bus
 Communication “highway” for all
components.
 Contains:
Data lines.
Address lines.
Control lines: regulate information transfer,
interrupts, error signals.
Block Diagram
Parallel I/O Serial I/O
Interrupt
Circuit
Timing CPU Memory
System Bus
The CPU
 “Master” of all components.
 Job:
Get instructions from memory.
Execute instructions.
Perform calculations (may use math co-
processor).
Control bus operations.
CPU
The CPU
 CPU consists of:
ALU (Arithmetic/Logic Unit):
 Performs arithmetic/ logic computations.
CU (Control Unit):
 Responsible to retrieve instructions, analyze, then
execute.
Registers:
 Fast internal storage.
 Used to temporarily store addresses, data,
processor status.
Memory
 Stores instructions and data for CPU.
 Each memory location given unique
address.
CPU refers to address to access.
 Types:
Read-Only Memory (ROM).
Random-Access Memory (RAM).
Non-Volatile Memory (NVM).
Memory
RAM, ROM and NVM
Memory NVM
RAM
ROM
Stores start-up
instructions and critical
system data and
variables.
Stores general data
and applications
ROM
 Read-Only Memory:
 Data can be read, but cannot be written (read-only).
 Contents stay without power (non-volatile).
 Usually contains basic start-up instructions, data.
 Contents hard-wired during manufacturing.
 Newer versions can be reprogrammed:
 PROM: Fuse & anti-fuse.
 EPROM: UV light.
 EEPROM: Electrical current.
ROM Examples
Quartz Window
EEPROM Programmer
EPROM
NVM
 Non-Volatile Memory
 Contents can be read and written.
 Contents stay without power (non-volatile).
 Advantages:
 Keeps memory even with no power.
 Data is protected against blackouts.
 Rewriteable.
 Disadvantages:
 Slower than RAM.
RAM
 Random Access Memory.
 Contents can be read and written.
 Loses data without electrical power (volatile).
 Advantages:
 Programs can be loaded and reloaded.
 Larger capacity.
 Disadvantages:
 Requires power, refresh cycles.
RAM vs. ROM
Computer is
turned on
CPU looks for
instructions from
memory
RAM is still empty
because the computer
has just been started.
CPU loads
instructions
from ROM.
RAM vs. ROM
ROM only has basic
functions to start the computer.
RAM loads more
advanced functions, such
as the OS.
Timing Circuit Timing
 Synchronizes all components in the system.
 All components refer to the clock timing for
operations.
 Generates square waves at constant intervals.
 Crystal oscillator + timing circuitry.
 Higher clock speed allow computers to function
faster.
Crystal Oscillator
Symbol
Equivalent Circuit
Sample
Clock Signal
T T T
Clock Signal vs. Processing Speed
 Instruction CLR.W D7 takes 4 cycles to
complete.
time
Slow clock speed
Fast clock speed
I/O
 Input/Output.
 Connects µP with external devices:
 Add functionality to µP.
 Interfaces with µP using ports.
 Examples:
 Keyboard.
 Mouse.
 Display monitor.
How do ports connect to system
bus?
Built into board
Using card slots.
Serial I/O
 Sends/receives data sequentially across 2 channels.
 One for receive, one for transmit.
 Connects using serial ports.
 Advantages:
 Less crosstalk.
 Disadvantages:
 Slow.
 Needs special circuit to convert back to parallel (UART –
Universal Asynchronous Receiver/Transmitter).
Serial I/O
Serial Port
Parallel I/O
 Sends/receives data across multiple lines at one
time.
 Connects using parallel ports.
 Advantages:
 Faster than serial.
 Simpler circuits – doesn’t need UART.
 Disadvantages:
 Crosstalk.
Parallel I/O
Parallel Port
Parallel vs. Serial I/O
1011011010101010011010101010100011101100101
1011011010101010011010101010100011101100101
1011011010101010011010101010100011101100101
1011011010101010011010101010100011101100101
Serial Port
Parallel Port
1011011010101010011010101010100011101100101 Receive
Transmit
.
.
Receive/Transmit
Receive/Transmit
Receive/Transmit
UART
UART
1
0
0
1
1001
UART
1
0
0
1
1001
To System BusFrom Device
From System BusTo Device
Interrupt Circuit
 Allows other components to “interrupt” normal
CPU operation:
 Prioritize CPU tasks.
 Error detection mechanism.
 Accept inputs from devices – keystroke, mouse press.
 Depends on task importance:
 Important tasks given higher interrupts.
 Less important tasks queued.
 CPU keeps track of current interrupt level.
Interrupt
Circuit
How Interrupts Work
CPU Device
1. CPU is performing
tasks normally.
2. Device has more
important task that requires
immediate attention.
3. Device requests interrupt from
CPU.
4. CPU saves its current task
so that it can return to it
when the interrupt completes.
5. CPU services the interrupt.
6. CPU reloads saved task,
and resumes normally.

More Related Content

What's hot

Cpu introduction to computer
Cpu introduction to computerCpu introduction to computer
Cpu introduction to computerBRS ENGINEERING
 
Chetan Thapa Magar Presentation Under Motherboard
Chetan Thapa Magar Presentation Under MotherboardChetan Thapa Magar Presentation Under Motherboard
Chetan Thapa Magar Presentation Under MotherboardChetan Thapa Magar
 
Cpu and its functions
Cpu and its functionsCpu and its functions
Cpu and its functionsmyrajendra
 
Motherboard
MotherboardMotherboard
MotherboardARUN S L
 
Introduction to parts of Computer(Computer Fundamentals)
Introduction to parts of Computer(Computer Fundamentals)Introduction to parts of Computer(Computer Fundamentals)
Introduction to parts of Computer(Computer Fundamentals)Jamsher bhanbhro
 
CPU (Central processing unit)
CPU (Central processing unit) CPU (Central processing unit)
CPU (Central processing unit) Razu Rahman
 
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
 
comparison between Microprocessor-Microcontroller
comparison between Microprocessor-Microcontrollercomparison between Microprocessor-Microcontroller
comparison between Microprocessor-MicrocontrollerDabbaru Murali
 
The CPU and Memory and Major Components
The CPU and Memory and  Major ComponentsThe CPU and Memory and  Major Components
The CPU and Memory and Major Componentsimtiazalijoono
 
Components and Parts of Motherboard and their importance
Components and Parts of Motherboard and their importanceComponents and Parts of Motherboard and their importance
Components and Parts of Motherboard and their importanceSubas Paudel
 
motherboard electronic components and their functions
motherboard electronic components and their functionsmotherboard electronic components and their functions
motherboard electronic components and their functionsOmprakash Chauhan
 
CPU and its components
CPU and its componentsCPU and its components
CPU and its componentssamina khan
 
08. Central Processing Unit (CPU)
08. Central Processing Unit (CPU)08. Central Processing Unit (CPU)
08. Central Processing Unit (CPU)Akhila Dakshina
 
Basic CPU (Central Processing Unit)
Basic CPU (Central Processing Unit)Basic CPU (Central Processing Unit)
Basic CPU (Central Processing Unit)Faraz Ahmed
 

What's hot (20)

Sim grade 10
Sim grade 10Sim grade 10
Sim grade 10
 
Motherboard
MotherboardMotherboard
Motherboard
 
Motherboard
MotherboardMotherboard
Motherboard
 
Cpu introduction to computer
Cpu introduction to computerCpu introduction to computer
Cpu introduction to computer
 
Chetan Thapa Magar Presentation Under Motherboard
Chetan Thapa Magar Presentation Under MotherboardChetan Thapa Magar Presentation Under Motherboard
Chetan Thapa Magar Presentation Under Motherboard
 
Cpu and its functions
Cpu and its functionsCpu and its functions
Cpu and its functions
 
Motherboard
MotherboardMotherboard
Motherboard
 
Motherboard
MotherboardMotherboard
Motherboard
 
Arduino Family
Arduino FamilyArduino Family
Arduino Family
 
Introduction to parts of Computer(Computer Fundamentals)
Introduction to parts of Computer(Computer Fundamentals)Introduction to parts of Computer(Computer Fundamentals)
Introduction to parts of Computer(Computer Fundamentals)
 
CPU (Central processing unit)
CPU (Central processing unit) CPU (Central processing unit)
CPU (Central processing unit)
 
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
 
comparison between Microprocessor-Microcontroller
comparison between Microprocessor-Microcontrollercomparison between Microprocessor-Microcontroller
comparison between Microprocessor-Microcontroller
 
The CPU and Memory and Major Components
The CPU and Memory and  Major ComponentsThe CPU and Memory and  Major Components
The CPU and Memory and Major Components
 
Components and Parts of Motherboard and their importance
Components and Parts of Motherboard and their importanceComponents and Parts of Motherboard and their importance
Components and Parts of Motherboard and their importance
 
motherboard electronic components and their functions
motherboard electronic components and their functionsmotherboard electronic components and their functions
motherboard electronic components and their functions
 
CPU and its components
CPU and its componentsCPU and its components
CPU and its components
 
Computer Hardware
Computer HardwareComputer Hardware
Computer Hardware
 
08. Central Processing Unit (CPU)
08. Central Processing Unit (CPU)08. Central Processing Unit (CPU)
08. Central Processing Unit (CPU)
 
Basic CPU (Central Processing Unit)
Basic CPU (Central Processing Unit)Basic CPU (Central Processing Unit)
Basic CPU (Central Processing Unit)
 

Similar to Mikroprosessor system

computer organization and architecture notes
computer organization and architecture notescomputer organization and architecture notes
computer organization and architecture notesUpasana Talukdar
 
3. Component of computer - System Unit ( CSI-321)
3. Component of computer - System Unit  ( CSI-321) 3. Component of computer - System Unit  ( CSI-321)
3. Component of computer - System Unit ( CSI-321) ghayour abbas
 
IO SYSTEM AND CASE STUDY STRUCTURE
IO SYSTEM AND CASE STUDY STRUCTUREIO SYSTEM AND CASE STUDY STRUCTURE
IO SYSTEM AND CASE STUDY STRUCTUREHariharan Anand
 
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
 
A+ certification (Core hardware) Pc Maintenance
 A+ certification (Core hardware) Pc Maintenance  A+ certification (Core hardware) Pc Maintenance
A+ certification (Core hardware) Pc Maintenance muhammadishrat11
 
COMPUTER BASIC AND FUNDAMENTAL AND ITS ORGANISATION.pptx
COMPUTER BASIC AND FUNDAMENTAL AND ITS ORGANISATION.pptxCOMPUTER BASIC AND FUNDAMENTAL AND ITS ORGANISATION.pptx
COMPUTER BASIC AND FUNDAMENTAL AND ITS ORGANISATION.pptxPannaBushratul
 
Basic Organisation and fundamental Of Computer.pptx
Basic Organisation and fundamental Of Computer.pptxBasic Organisation and fundamental Of Computer.pptx
Basic Organisation and fundamental Of Computer.pptxhasanbashar400
 
System Software ( Os )
System Software ( Os )System Software ( Os )
System Software ( Os )Paula Smith
 
Computer organization research, everything that u want (2020)
Computer organization research, everything that u want (2020)Computer organization research, everything that u want (2020)
Computer organization research, everything that u want (2020)Ahmed Magdy
 
Input output in computer Orgranization and architecture
Input output in computer Orgranization and architectureInput output in computer Orgranization and architecture
Input output in computer Orgranization and architecturevikram patel
 
Input output accessing
Input output accessingInput output accessing
Input output accessingankitraosingh
 

Similar to Mikroprosessor system (20)

computer organization and architecture notes
computer organization and architecture notescomputer organization and architecture notes
computer organization and architecture notes
 
Components of a computer-Unit-2
Components of a computer-Unit-2Components of a computer-Unit-2
Components of a computer-Unit-2
 
3. Component of computer - System Unit ( CSI-321)
3. Component of computer - System Unit  ( CSI-321) 3. Component of computer - System Unit  ( CSI-321)
3. Component of computer - System Unit ( CSI-321)
 
IO SYSTEM AND CASE STUDY STRUCTURE
IO SYSTEM AND CASE STUDY STRUCTUREIO SYSTEM AND CASE STUDY STRUCTURE
IO SYSTEM AND CASE STUDY STRUCTURE
 
Components of a computer
Components of a computerComponents of a computer
Components of a computer
 
PCT SLIDE3
PCT SLIDE3PCT SLIDE3
PCT SLIDE3
 
Csc118 chapter1
Csc118 chapter1Csc118 chapter1
Csc118 chapter1
 
CPU and memory
CPU and memoryCPU and memory
CPU and memory
 
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
 
Ch 3 95
Ch 3 95Ch 3 95
Ch 3 95
 
A+ certification (Core hardware) Pc Maintenance
 A+ certification (Core hardware) Pc Maintenance  A+ certification (Core hardware) Pc Maintenance
A+ certification (Core hardware) Pc Maintenance
 
COMPUTER BASIC AND FUNDAMENTAL AND ITS ORGANISATION.pptx
COMPUTER BASIC AND FUNDAMENTAL AND ITS ORGANISATION.pptxCOMPUTER BASIC AND FUNDAMENTAL AND ITS ORGANISATION.pptx
COMPUTER BASIC AND FUNDAMENTAL AND ITS ORGANISATION.pptx
 
Unit 6
Unit 6Unit 6
Unit 6
 
Basic Organisation and fundamental Of Computer.pptx
Basic Organisation and fundamental Of Computer.pptxBasic Organisation and fundamental Of Computer.pptx
Basic Organisation and fundamental Of Computer.pptx
 
System Software ( Os )
System Software ( Os )System Software ( Os )
System Software ( Os )
 
Chapter 4
Chapter 4Chapter 4
Chapter 4
 
Computer organization research, everything that u want (2020)
Computer organization research, everything that u want (2020)Computer organization research, everything that u want (2020)
Computer organization research, everything that u want (2020)
 
Chapter 1 CSC118
Chapter 1 CSC118 Chapter 1 CSC118
Chapter 1 CSC118
 
Input output in computer Orgranization and architecture
Input output in computer Orgranization and architectureInput output in computer Orgranization and architecture
Input output in computer Orgranization and architecture
 
Input output accessing
Input output accessingInput output accessing
Input output accessing
 

More from Maghfir Muhammad Ramadhan (10)

Berbasis sistem pc
Berbasis sistem pcBerbasis sistem pc
Berbasis sistem pc
 
Instruksi2 pemindahan data
Instruksi2 pemindahan dataInstruksi2 pemindahan data
Instruksi2 pemindahan data
 
Konsep mikroprogramming
Konsep mikroprogrammingKonsep mikroprogramming
Konsep mikroprogramming
 
Jenis mikroprosesor
Jenis mikroprosesorJenis mikroprosesor
Jenis mikroprosesor
 
4. pengamanan sistem operasi
4. pengamanan sistem operasi4. pengamanan sistem operasi
4. pengamanan sistem operasi
 
Operasi larik
Operasi larikOperasi larik
Operasi larik
 
Operasi rekursi
Operasi rekursiOperasi rekursi
Operasi rekursi
 
Operasi subrutin bahasa java
Operasi subrutin bahasa javaOperasi subrutin bahasa java
Operasi subrutin bahasa java
 
Tips and trik kamera video
Tips and trik kamera videoTips and trik kamera video
Tips and trik kamera video
 
Mengoperasikan kamera video
Mengoperasikan kamera videoMengoperasikan kamera video
Mengoperasikan kamera video
 

Recently uploaded

BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...Sapna Thakur
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
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
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...PsychoTech Services
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
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
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
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
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingTeacherCyreneCayanan
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajanpragatimahajan3
 

Recently uploaded (20)

BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (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
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
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
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
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
 
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
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writing
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajan
 

Mikroprosessor system

  • 2. Microprocessor Systems  Definition: A complete electronic system built around the microprocessor to support the microprocessor operation.  May consist of CPU, memory, I/O (disk drives, keyboard, mouse), system bus, and supporting circuitry.  CPU as the “brain” – controls actions of all components.
  • 3. Microprocessor System - PC ROM Keyboard Mouse HDD Floppy RAM CD-ROM Supporting CircuitryCPU
  • 4. Microprocessor System - Calculator Keypad Memory Power Supply LCD DisplayCPU
  • 5. System Bus  A µP-based system consists of many components:  CPU.  Memory.  I/O: disk drives, keyboard, mouse.  System Bus.  Supporting circuitry.  All components communicate using System Bus.
  • 6. System Bus  Communication “highway” for all components.  Contains: Data lines. Address lines. Control lines: regulate information transfer, interrupts, error signals.
  • 7. Block Diagram Parallel I/O Serial I/O Interrupt Circuit Timing CPU Memory System Bus
  • 8. The CPU  “Master” of all components.  Job: Get instructions from memory. Execute instructions. Perform calculations (may use math co- processor). Control bus operations. CPU
  • 9. The CPU  CPU consists of: ALU (Arithmetic/Logic Unit):  Performs arithmetic/ logic computations. CU (Control Unit):  Responsible to retrieve instructions, analyze, then execute. Registers:  Fast internal storage.  Used to temporarily store addresses, data, processor status.
  • 10. Memory  Stores instructions and data for CPU.  Each memory location given unique address. CPU refers to address to access.  Types: Read-Only Memory (ROM). Random-Access Memory (RAM). Non-Volatile Memory (NVM). Memory
  • 11. RAM, ROM and NVM Memory NVM RAM ROM Stores start-up instructions and critical system data and variables. Stores general data and applications
  • 12. ROM  Read-Only Memory:  Data can be read, but cannot be written (read-only).  Contents stay without power (non-volatile).  Usually contains basic start-up instructions, data.  Contents hard-wired during manufacturing.  Newer versions can be reprogrammed:  PROM: Fuse & anti-fuse.  EPROM: UV light.  EEPROM: Electrical current.
  • 14. NVM  Non-Volatile Memory  Contents can be read and written.  Contents stay without power (non-volatile).  Advantages:  Keeps memory even with no power.  Data is protected against blackouts.  Rewriteable.  Disadvantages:  Slower than RAM.
  • 15. RAM  Random Access Memory.  Contents can be read and written.  Loses data without electrical power (volatile).  Advantages:  Programs can be loaded and reloaded.  Larger capacity.  Disadvantages:  Requires power, refresh cycles.
  • 16. RAM vs. ROM Computer is turned on CPU looks for instructions from memory RAM is still empty because the computer has just been started. CPU loads instructions from ROM.
  • 17. RAM vs. ROM ROM only has basic functions to start the computer. RAM loads more advanced functions, such as the OS.
  • 18. Timing Circuit Timing  Synchronizes all components in the system.  All components refer to the clock timing for operations.  Generates square waves at constant intervals.  Crystal oscillator + timing circuitry.  Higher clock speed allow computers to function faster.
  • 21. Clock Signal vs. Processing Speed  Instruction CLR.W D7 takes 4 cycles to complete. time Slow clock speed Fast clock speed
  • 22. I/O  Input/Output.  Connects µP with external devices:  Add functionality to µP.  Interfaces with µP using ports.  Examples:  Keyboard.  Mouse.  Display monitor.
  • 23. How do ports connect to system bus? Built into board Using card slots.
  • 24. Serial I/O  Sends/receives data sequentially across 2 channels.  One for receive, one for transmit.  Connects using serial ports.  Advantages:  Less crosstalk.  Disadvantages:  Slow.  Needs special circuit to convert back to parallel (UART – Universal Asynchronous Receiver/Transmitter). Serial I/O
  • 26. Parallel I/O  Sends/receives data across multiple lines at one time.  Connects using parallel ports.  Advantages:  Faster than serial.  Simpler circuits – doesn’t need UART.  Disadvantages:  Crosstalk. Parallel I/O
  • 28. Parallel vs. Serial I/O 1011011010101010011010101010100011101100101 1011011010101010011010101010100011101100101 1011011010101010011010101010100011101100101 1011011010101010011010101010100011101100101 Serial Port Parallel Port 1011011010101010011010101010100011101100101 Receive Transmit . . Receive/Transmit Receive/Transmit Receive/Transmit
  • 30. Interrupt Circuit  Allows other components to “interrupt” normal CPU operation:  Prioritize CPU tasks.  Error detection mechanism.  Accept inputs from devices – keystroke, mouse press.  Depends on task importance:  Important tasks given higher interrupts.  Less important tasks queued.  CPU keeps track of current interrupt level. Interrupt Circuit
  • 31. How Interrupts Work CPU Device 1. CPU is performing tasks normally. 2. Device has more important task that requires immediate attention. 3. Device requests interrupt from CPU. 4. CPU saves its current task so that it can return to it when the interrupt completes. 5. CPU services the interrupt. 6. CPU reloads saved task, and resumes normally.