SlideShare ist ein Scribd-Unternehmen logo
1 von 24
Downloaden Sie, um offline zu lesen
Gursharan Singh Tatla
mailme@gursharansingh.in
www.eazynotes.com
Introduction to Microprocessors
03-Aug-20111 www.eazynotes.com
Introduction to Microprocessors
 The microprocessor is one of the most important
components of a digital computer.
 It acts as the brain of the computer system.
 As technology has progressed, microprocessors
have become faster, smaller and capable of doing
more work per clock cycle.
 Sometimes, microprocessor is written as µP.
( µ is pronounced as Mu )
03-Aug-20112 www.eazynotes.com
Introduction to Microprocessors
 Definition:
Microprocessor is the controlling unit or CPU of a
micro-computer, fabricated on a very small chip capable
of performing ALU operations and communicating with
the external devices connected to it.
03-Aug-20113 www.eazynotes.com
A Computer
 A computer:
 Accepts the data from the user.
 Stores the data and the set of instructions supplied by
the user in memory.
 Processes the data according to the instructions in the
processing unit.
 Communicates the result to the user or stores it for
further reference.
03-Aug-20114 www.eazynotes.com
A Computer
 A computer has the following units:
 Input Unit
 Output Unit
 Memory Unit
 Central Processing Unit
03-Aug-20115 www.eazynotes.com
A Computer
 INPUT UNIT
 The input unit consists of the devices which accept the data and
instructions from the user and communicates it to the CPU.
 The various input devices are: keyboard, mouse, joystick, trackball
etc.
 OUTPUT UNIT
 It provides the result of the various operations performed by the
CPU to the user.
 The various output devices are: printers, monitors, loudspeakers
etc.
03-Aug-20116 www.eazynotes.com
A Computer
 CENTRAL PROCESSING UNIT (CPU)
 The CPU is the heart and nerve centre of the computer.
 It fetches the instruction and data from the peripheral
devices and performs all the arithmetic operations, takes
logical decision and control the operation of all other units.
 Various sub-blocks of the central processing unit are:
 Arithmetic and Logic Unit (ALU)
 Timing & Control Unit
 Registers
03-Aug-20117 www.eazynotes.com
A Computer
 ARITHMETIC AND LOGIC UNIT (ALU)
 This unit perform all the logical and arithmetic operations.
 Various arithmetic operations are: addition, subtraction, increment and
decrement etc.
 Various logical operations are: AND, OR, NOT, XOR, etc.
 TIMING AND CONTROL UNIT
 This unit controls the entire operations being performed by the system.
 It controls the operations of ALU, input/output devices and memory unit.
 This unit interprets the instructions and generates various timing and control
signals.
 REGISTERS
 A register is a very small amount of very fast memory that is built into the CPU
in order to store the current data and instructions which are being executed by
the CPU.
03-Aug-20118 www.eazynotes.com
A Computer
 MEMORY UNIT
 It stores the program statement and the data i.e. the
information supplied from the input unit.
 It also stores the final output.
 This is connected to the CPU by means of a bidirectional
bus.
 The CPU processes the information as taken from the
memory and performs the operations in the ALU section.
 The results are either transferred to the output unit or stored
in the memory for later use by the CPU.
03-Aug-20119 www.eazynotes.com
A Micro-Computer
 As the name implies, microcomputers are small
computers.
 The block diagram of the microcomputer is similar to
the computer except that the central processing unit
of the microcomputer is contained in a single IC
called the microprocessor.
03-Aug-201110 www.eazynotes.com
A Micro-Computer
 A microprocessor is a LSI (Large Scale Integration) IC
that does almost all the functions of the CPU.
 It is also defined as a CPU contained in a single chip.
 The basic function of the microprocessor is:
 to fetch the instructions stored in the main memory
 identify the operations and the devices involved in it
 and accordingly generate control signals to determine when
a given action is to take place.
 We can say that a computer with a microprocessor as its
CPU, is known as Microcomputer.
03-Aug-201111 www.eazynotes.com
Some Definitions
 Microprocessor:
 The central processing unit built on a single IC is called
Microprocessor.
 A microprocessor (sometimes abbreviated as µP) is a
digital electronic component with miniaturized
transistors on a single semiconductor integrated circuit
(IC).
 One or more microprocessors typically serve as a
central processing unit (CPU) in a computer system or
handheld device.
03-Aug-201112 www.eazynotes.com
Some Definitions
 Microcomputer:
 A digital computer, in which one microprocessor has
been provided to act as a CPU, is called
Microcomputer.
 A desktop computer, laptop, notebook, palmtop, etc.
contain one microprocessor to act as a CPU and hence
they come under the category of microcomputer.
 The term microcomputer is generally synonymous with
personal computer.
03-Aug-201113 www.eazynotes.com
Some Definitions
 Multiprocessor System:
 The CPU of a large powerful digital computer contains
more than one microprocessor.
 High-end powerful servers, mainframe computers,
supercomputers, etc. contain more than one
microprocessor to act as CPU.
 A computer whose CPU contains more than one
microprocessor is called Multiprocessor System.
03-Aug-201114 www.eazynotes.com
Some Definitions
 Microcontroller:
 A highly integrated chip that contains all the
components such as CPU, RAM, some form of ROM,
I/O ports, and timers is called Microcontroller.
 Unlike a general-purpose computer, which also
includes all of these components, a microcontroller is
designed for a very specific task to control a particular
system.
03-Aug-201115 www.eazynotes.com
Microprocessor Characteristics
 Instruction Set:
 The set of instructions that a microprocessor can
understand.
 Bandwidth:
 The number of bits processed in a single instruction.
 Capability:
 It depends upon the number of instructions and capability of
each instruction.
03-Aug-201116 www.eazynotes.com
Microprocessor Characteristics
 Clock Speed:
 The clock speed determines how many operations per second the
processor can perform.
 It is also called Clock Rate.
 Every computer contains an internal clock that regulates the rate at
which instructions are executed and synchronizes the various
computer components.
 The faster the clock, the more instructions the CPU can execute per
second.
 Clock speeds are expressed in megahertz (MHz) or gigahertz (GHz).
 The microprocessors of personal computers have clock speeds of
anywhere from 300 MHz to over 3.8 GHz.
03-Aug-201117 www.eazynotes.com
Microprocessor Characteristics
 Word Length:
 It depends upon the width of internal data bus,
registers, ALU etc.
 An 8-bit microprocessor can process 8 bit data at a
time.
 A processor with longer word length is more powerful
and can process data at a faster speed as compared to
processor with shorter word length.
 The word length ranges from 4 bits for small
microprocessor, to 64 bits for high-end microcomputers.
03-Aug-201118 www.eazynotes.com
Microprocessor Characteristics
 Width of Data Bus:
 This is the size of the data bus. It defines the number of bits that can be
transferred through data bus.
 Width of Address Bus:
 This parameter decides the memory addressing capability of the
microprocessor. The maximum size of the memory unit is decided by this
parameter.
 Input/Output Addressing Capability:
 The maximum number of the input/output ports accessed by the
microprocessor depends upon the width of the input/output address provided
in the input/output instruction.
03-Aug-201119 www.eazynotes.com
Microprocessor Characteristics
 Data Types:
 The microprocessor handles various types of data formats
like binary, BCD, ASCII, signed and unsigned numbers.
 Interrupt Capability:
 Interrupts are used to handle unpredictable and random
events in the microcomputer.
 It is used to interrupt the microprocessor.
 Interrupt driven input/output improves the throughput of a
system.
03-Aug-201120 www.eazynotes.com
Features of Microprocessor
 Cost:
 The most important feature of a microcomputer is its low cost.
 Because of the widespread use of microprocessors, the volume of
production is very high.
 That is why, microprocessor chips are available at fairly low prices.
 Size:
 The second important feature of a microprocessor is its small size.
 As a result of improvement in fabrication technology, VLSI,
electronic circuitry has become so dense that a minute silicon chip
can contain hundred and thousands of transistors.
03-Aug-201121 www.eazynotes.com
Features of Microprocessor
 Power Consumption:
 Another important feature is its low power consumption.
 Microprocessors are normally manufactured by Metal-Oxide semiconductor
technology, which has the feature of low power consumption.
 Versatility:
 The microprocessors are versatile.
 Keeping the same basic hardware, a microprocessor-based system can be
configured for a number of applications by simply altering the software
program.
 Reliability:
 Another important property of microprocessors is its extreme reliability.
 It has been established that the failure rate of an IC is fairly uniform at the
package level, regardless of its complexity.
03-Aug-201122 www.eazynotes.com
Micron
 A unit of length equal to one millionth of a meter.
 It is denoted by µ (Mu).
 For Example:
 If we pluck a hair from the head, it is very thin.
 But a hair is more than 2000 times wider than a transistor on a
microprocessor.
 Wires between transistors are even thinner.
 They're more than 4000 times thinner than a hair.
 A hair is about 100 microns in diameter.
 That means, a transistor is just 0.045 microns wide.
03-Aug-201123 www.eazynotes.com
03-Aug-201124 www.eazynotes.com

Weitere ähnliche Inhalte

Was ist angesagt?

8051 serial communication
8051 serial communication8051 serial communication
8051 serial communication
asteriskbimal
 
Memory technology and optimization in Advance Computer Architechture
Memory technology and optimization in Advance Computer ArchitechtureMemory technology and optimization in Advance Computer Architechture
Memory technology and optimization in Advance Computer Architechture
Shweta Ghate
 
02 addressing modes 6800
02 addressing modes 680002 addressing modes 6800
02 addressing modes 6800
kashambabu
 
Presentation On RAID(Redundant Array Of Independent Disks) Basics
Presentation On RAID(Redundant Array Of Independent Disks) BasicsPresentation On RAID(Redundant Array Of Independent Disks) Basics
Presentation On RAID(Redundant Array Of Independent Disks) Basics
Kuber Chandra
 

Was ist angesagt? (20)

Cache memory
Cache memoryCache memory
Cache memory
 
INTEL’S MMX TECHNOLOGY FOR ENHANCED PROCESSOR
INTEL’S MMX TECHNOLOGY FOR ENHANCED PROCESSORINTEL’S MMX TECHNOLOGY FOR ENHANCED PROCESSOR
INTEL’S MMX TECHNOLOGY FOR ENHANCED PROCESSOR
 
Cache memory presentation
Cache memory presentationCache memory presentation
Cache memory presentation
 
8051 serial communication
8051 serial communication8051 serial communication
8051 serial communication
 
Microcontroller presentation
Microcontroller presentationMicrocontroller presentation
Microcontroller presentation
 
Addressing modes of 8086
Addressing modes of 8086Addressing modes of 8086
Addressing modes of 8086
 
Major Function of i/o module
Major Function of i/o moduleMajor Function of i/o module
Major Function of i/o module
 
Instruction cycle & machine cycle
Instruction cycle & machine cycleInstruction cycle & machine cycle
Instruction cycle & machine cycle
 
Introduction to microcontroller
Introduction to microcontrollerIntroduction to microcontroller
Introduction to microcontroller
 
Memory technology and optimization in Advance Computer Architechture
Memory technology and optimization in Advance Computer ArchitechtureMemory technology and optimization in Advance Computer Architechture
Memory technology and optimization in Advance Computer Architechture
 
Multiprocessors(performance and synchronization issues)
Multiprocessors(performance and synchronization issues)Multiprocessors(performance and synchronization issues)
Multiprocessors(performance and synchronization issues)
 
Cache memory
Cache memoryCache memory
Cache memory
 
Single &Multi Core processor
Single &Multi Core processorSingle &Multi Core processor
Single &Multi Core processor
 
02 addressing modes 6800
02 addressing modes 680002 addressing modes 6800
02 addressing modes 6800
 
Presentation On RAID(Redundant Array Of Independent Disks) Basics
Presentation On RAID(Redundant Array Of Independent Disks) BasicsPresentation On RAID(Redundant Array Of Independent Disks) Basics
Presentation On RAID(Redundant Array Of Independent Disks) Basics
 
Intellectual property in vlsi
Intellectual property in vlsiIntellectual property in vlsi
Intellectual property in vlsi
 
Lec 1 digital electroinics - memory array, write read operations
Lec 1   digital electroinics - memory array, write read operationsLec 1   digital electroinics - memory array, write read operations
Lec 1 digital electroinics - memory array, write read operations
 
CPU Caches
CPU CachesCPU Caches
CPU Caches
 
Computer organization-and-architecture-questions-and-answers
Computer organization-and-architecture-questions-and-answersComputer organization-and-architecture-questions-and-answers
Computer organization-and-architecture-questions-and-answers
 
Cache memoy designed by Mohd Tariq
Cache memoy designed by Mohd TariqCache memoy designed by Mohd Tariq
Cache memoy designed by Mohd Tariq
 

Andere mochten auch

microprocessor
microprocessormicroprocessor
microprocessor
illpa
 
Microsoft Dynamics NAV 2009 R2
Microsoft Dynamics NAV 2009 R2Microsoft Dynamics NAV 2009 R2
Microsoft Dynamics NAV 2009 R2
Softera Baltic
 
Enterprise Management with Microsoft Technologies
Enterprise Management with Microsoft TechnologiesEnterprise Management with Microsoft Technologies
Enterprise Management with Microsoft Technologies
Amit Gatenyo
 
Microsoft dynamics navision 2009 r2
Microsoft dynamics navision 2009 r2Microsoft dynamics navision 2009 r2
Microsoft dynamics navision 2009 r2
nikhil patel
 
Parallel Programming in .NET
Parallel Programming in .NETParallel Programming in .NET
Parallel Programming in .NET
SANKARSAN BOSE
 

Andere mochten auch (20)

Microprocessor Systems
Microprocessor Systems Microprocessor Systems
Microprocessor Systems
 
Microprocessors
MicroprocessorsMicroprocessors
Microprocessors
 
microprocessor
microprocessormicroprocessor
microprocessor
 
LeverX - A Comprehensive Guide to SAP PLM 7.01
LeverX - A Comprehensive Guide to SAP PLM 7.01LeverX - A Comprehensive Guide to SAP PLM 7.01
LeverX - A Comprehensive Guide to SAP PLM 7.01
 
Microsoft Dynamics NAV 2009 R2
Microsoft Dynamics NAV 2009 R2Microsoft Dynamics NAV 2009 R2
Microsoft Dynamics NAV 2009 R2
 
Microprocessor Week 10: Applications
Microprocessor Week 10: ApplicationsMicroprocessor Week 10: Applications
Microprocessor Week 10: Applications
 
Enterprise Management with Microsoft Technologies
Enterprise Management with Microsoft TechnologiesEnterprise Management with Microsoft Technologies
Enterprise Management with Microsoft Technologies
 
[ PPT ] NS _ppt 4..ppt microprocesser and microcontroller fundamentals
[ PPT ] NS _ppt 4..ppt microprocesser and microcontroller fundamentals [ PPT ] NS _ppt 4..ppt microprocesser and microcontroller fundamentals
[ PPT ] NS _ppt 4..ppt microprocesser and microcontroller fundamentals
 
Cheap HPC
Cheap HPCCheap HPC
Cheap HPC
 
Microsoft dynamics navision 2009 r2
Microsoft dynamics navision 2009 r2Microsoft dynamics navision 2009 r2
Microsoft dynamics navision 2009 r2
 
Microprocessors-based systems (under graduate course) Lecture 1 of 9
Microprocessors-based systems (under graduate course) Lecture 1 of 9 Microprocessors-based systems (under graduate course) Lecture 1 of 9
Microprocessors-based systems (under graduate course) Lecture 1 of 9
 
079 Network Programming
079 Network Programming079 Network Programming
079 Network Programming
 
ECESLU Microprocessors lecture 2
ECESLU Microprocessors lecture 2ECESLU Microprocessors lecture 2
ECESLU Microprocessors lecture 2
 
Parallel Programming in .NET
Parallel Programming in .NETParallel Programming in .NET
Parallel Programming in .NET
 
ECESLU Microprocessors Lecture 3
ECESLU Microprocessors Lecture 3ECESLU Microprocessors Lecture 3
ECESLU Microprocessors Lecture 3
 
introduction to microprocessors
introduction to microprocessorsintroduction to microprocessors
introduction to microprocessors
 
SharePoint PerformancePoint 101
SharePoint PerformancePoint 101SharePoint PerformancePoint 101
SharePoint PerformancePoint 101
 
.Net 4.0 Threading and Parallel Programming
.Net 4.0 Threading and Parallel Programming.Net 4.0 Threading and Parallel Programming
.Net 4.0 Threading and Parallel Programming
 
ERP, SAP
ERP, SAPERP, SAP
ERP, SAP
 
ECESLU Microprocessors lecture
ECESLU Microprocessors lecture ECESLU Microprocessors lecture
ECESLU Microprocessors lecture
 

Ähnlich wie Introduction to-microprocessors

Chapter 4 Microprocessor CPU
Chapter 4 Microprocessor CPUChapter 4 Microprocessor CPU
Chapter 4 Microprocessor CPU
askme
 
Project report on embedded system using 8051 microcontroller
Project  report on embedded system using 8051 microcontrollerProject  report on embedded system using 8051 microcontroller
Project report on embedded system using 8051 microcontroller
Vandna Sambyal
 

Ähnlich wie Introduction to-microprocessors (20)

4CS3-MPI-Unit-1.pptx
4CS3-MPI-Unit-1.pptx4CS3-MPI-Unit-1.pptx
4CS3-MPI-Unit-1.pptx
 
Lecture notes on microprocessor and microcomputer
Lecture notes on microprocessor and microcomputerLecture notes on microprocessor and microcomputer
Lecture notes on microprocessor and microcomputer
 
Chapter 4 Microprocessor CPU
Chapter 4 Microprocessor CPUChapter 4 Microprocessor CPU
Chapter 4 Microprocessor CPU
 
A Guide to the Microcontroller, Its Functioning, Types, and Applications .pdf
A Guide to the Microcontroller, Its Functioning, Types, and Applications .pdfA Guide to the Microcontroller, Its Functioning, Types, and Applications .pdf
A Guide to the Microcontroller, Its Functioning, Types, and Applications .pdf
 
Micro controller and dsp processor
Micro controller and dsp processorMicro controller and dsp processor
Micro controller and dsp processor
 
AN OVERVIEW OF MICROPROCESSORS AND ASSEMBLY LANGUAGE PROGRAMMING
AN OVERVIEW OF MICROPROCESSORS AND ASSEMBLY LANGUAGE PROGRAMMINGAN OVERVIEW OF MICROPROCESSORS AND ASSEMBLY LANGUAGE PROGRAMMING
AN OVERVIEW OF MICROPROCESSORS AND ASSEMBLY LANGUAGE PROGRAMMING
 
Difference Between Microprocessors and Microcontrollers
Difference Between Microprocessors and MicrocontrollersDifference Between Microprocessors and Microcontrollers
Difference Between Microprocessors and Microcontrollers
 
MD JAHID HASAN
MD JAHID HASANMD JAHID HASAN
MD JAHID HASAN
 
152-15-5588
152-15-5588152-15-5588
152-15-5588
 
microprocessor-and-microcontroller
microprocessor-and-microcontrollermicroprocessor-and-microcontroller
microprocessor-and-microcontroller
 
Microprocessors evolution introduction to microprocessor
Microprocessors  evolution introduction to microprocessorMicroprocessors  evolution introduction to microprocessor
Microprocessors evolution introduction to microprocessor
 
Project report on embedded system using 8051 microcontroller
Project  report on embedded system using 8051 microcontrollerProject  report on embedded system using 8051 microcontroller
Project report on embedded system using 8051 microcontroller
 
Motorola 68hc11
Motorola 68hc11Motorola 68hc11
Motorola 68hc11
 
microprocessormicrocontrollerbysanat-140107013112-phpapp02.pdf
microprocessormicrocontrollerbysanat-140107013112-phpapp02.pdfmicroprocessormicrocontrollerbysanat-140107013112-phpapp02.pdf
microprocessormicrocontrollerbysanat-140107013112-phpapp02.pdf
 
Mod3
Mod3Mod3
Mod3
 
MergeResult_2023_04_02_05_26_56.pptx
MergeResult_2023_04_02_05_26_56.pptxMergeResult_2023_04_02_05_26_56.pptx
MergeResult_2023_04_02_05_26_56.pptx
 
Project Report on Embedded Systems
Project Report on Embedded Systems Project Report on Embedded Systems
Project Report on Embedded Systems
 
Draw and explain the architecture of general purpose microprocessor
Draw and explain the architecture of general purpose microprocessor Draw and explain the architecture of general purpose microprocessor
Draw and explain the architecture of general purpose microprocessor
 
Microcontroller
MicrocontrollerMicrocontroller
Microcontroller
 
18. the components of the system unit
18. the components of the system unit18. the components of the system unit
18. the components of the system unit
 

Kürzlich hochgeladen

"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments""Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
mphochane1998
 
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
ssuser89054b
 
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Kandungan 087776558899
 

Kürzlich hochgeladen (20)

Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
 
Introduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaIntroduction to Serverless with AWS Lambda
Introduction to Serverless with AWS Lambda
 
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments""Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
 
Jaipur ❤CALL GIRL 0000000000❤CALL GIRLS IN Jaipur ESCORT SERVICE❤CALL GIRL IN...
Jaipur ❤CALL GIRL 0000000000❤CALL GIRLS IN Jaipur ESCORT SERVICE❤CALL GIRL IN...Jaipur ❤CALL GIRL 0000000000❤CALL GIRLS IN Jaipur ESCORT SERVICE❤CALL GIRL IN...
Jaipur ❤CALL GIRL 0000000000❤CALL GIRLS IN Jaipur ESCORT SERVICE❤CALL GIRL IN...
 
PE 459 LECTURE 2- natural gas basic concepts and properties
PE 459 LECTURE 2- natural gas basic concepts and propertiesPE 459 LECTURE 2- natural gas basic concepts and properties
PE 459 LECTURE 2- natural gas basic concepts and properties
 
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
COST-EFFETIVE  and Energy Efficient BUILDINGS ptxCOST-EFFETIVE  and Energy Efficient BUILDINGS ptx
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
 
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best ServiceTamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
 
Theory of Time 2024 (Universal Theory for Everything)
Theory of Time 2024 (Universal Theory for Everything)Theory of Time 2024 (Universal Theory for Everything)
Theory of Time 2024 (Universal Theory for Everything)
 
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptxOrlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
 
Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdf
 
💚Trustworthy Call Girls Pune Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top...
💚Trustworthy Call Girls Pune Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top...💚Trustworthy Call Girls Pune Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top...
💚Trustworthy Call Girls Pune Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top...
 
Introduction to Data Visualization,Matplotlib.pdf
Introduction to Data Visualization,Matplotlib.pdfIntroduction to Data Visualization,Matplotlib.pdf
Introduction to Data Visualization,Matplotlib.pdf
 
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptxS1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
 
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced LoadsFEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
 
Computer Networks Basics of Network Devices
Computer Networks  Basics of Network DevicesComputer Networks  Basics of Network Devices
Computer Networks Basics of Network Devices
 
Work-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxWork-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptx
 
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPT
 

Introduction to-microprocessors

  • 1. Gursharan Singh Tatla mailme@gursharansingh.in www.eazynotes.com Introduction to Microprocessors 03-Aug-20111 www.eazynotes.com
  • 2. Introduction to Microprocessors  The microprocessor is one of the most important components of a digital computer.  It acts as the brain of the computer system.  As technology has progressed, microprocessors have become faster, smaller and capable of doing more work per clock cycle.  Sometimes, microprocessor is written as µP. ( µ is pronounced as Mu ) 03-Aug-20112 www.eazynotes.com
  • 3. Introduction to Microprocessors  Definition: Microprocessor is the controlling unit or CPU of a micro-computer, fabricated on a very small chip capable of performing ALU operations and communicating with the external devices connected to it. 03-Aug-20113 www.eazynotes.com
  • 4. A Computer  A computer:  Accepts the data from the user.  Stores the data and the set of instructions supplied by the user in memory.  Processes the data according to the instructions in the processing unit.  Communicates the result to the user or stores it for further reference. 03-Aug-20114 www.eazynotes.com
  • 5. A Computer  A computer has the following units:  Input Unit  Output Unit  Memory Unit  Central Processing Unit 03-Aug-20115 www.eazynotes.com
  • 6. A Computer  INPUT UNIT  The input unit consists of the devices which accept the data and instructions from the user and communicates it to the CPU.  The various input devices are: keyboard, mouse, joystick, trackball etc.  OUTPUT UNIT  It provides the result of the various operations performed by the CPU to the user.  The various output devices are: printers, monitors, loudspeakers etc. 03-Aug-20116 www.eazynotes.com
  • 7. A Computer  CENTRAL PROCESSING UNIT (CPU)  The CPU is the heart and nerve centre of the computer.  It fetches the instruction and data from the peripheral devices and performs all the arithmetic operations, takes logical decision and control the operation of all other units.  Various sub-blocks of the central processing unit are:  Arithmetic and Logic Unit (ALU)  Timing & Control Unit  Registers 03-Aug-20117 www.eazynotes.com
  • 8. A Computer  ARITHMETIC AND LOGIC UNIT (ALU)  This unit perform all the logical and arithmetic operations.  Various arithmetic operations are: addition, subtraction, increment and decrement etc.  Various logical operations are: AND, OR, NOT, XOR, etc.  TIMING AND CONTROL UNIT  This unit controls the entire operations being performed by the system.  It controls the operations of ALU, input/output devices and memory unit.  This unit interprets the instructions and generates various timing and control signals.  REGISTERS  A register is a very small amount of very fast memory that is built into the CPU in order to store the current data and instructions which are being executed by the CPU. 03-Aug-20118 www.eazynotes.com
  • 9. A Computer  MEMORY UNIT  It stores the program statement and the data i.e. the information supplied from the input unit.  It also stores the final output.  This is connected to the CPU by means of a bidirectional bus.  The CPU processes the information as taken from the memory and performs the operations in the ALU section.  The results are either transferred to the output unit or stored in the memory for later use by the CPU. 03-Aug-20119 www.eazynotes.com
  • 10. A Micro-Computer  As the name implies, microcomputers are small computers.  The block diagram of the microcomputer is similar to the computer except that the central processing unit of the microcomputer is contained in a single IC called the microprocessor. 03-Aug-201110 www.eazynotes.com
  • 11. A Micro-Computer  A microprocessor is a LSI (Large Scale Integration) IC that does almost all the functions of the CPU.  It is also defined as a CPU contained in a single chip.  The basic function of the microprocessor is:  to fetch the instructions stored in the main memory  identify the operations and the devices involved in it  and accordingly generate control signals to determine when a given action is to take place.  We can say that a computer with a microprocessor as its CPU, is known as Microcomputer. 03-Aug-201111 www.eazynotes.com
  • 12. Some Definitions  Microprocessor:  The central processing unit built on a single IC is called Microprocessor.  A microprocessor (sometimes abbreviated as µP) is a digital electronic component with miniaturized transistors on a single semiconductor integrated circuit (IC).  One or more microprocessors typically serve as a central processing unit (CPU) in a computer system or handheld device. 03-Aug-201112 www.eazynotes.com
  • 13. Some Definitions  Microcomputer:  A digital computer, in which one microprocessor has been provided to act as a CPU, is called Microcomputer.  A desktop computer, laptop, notebook, palmtop, etc. contain one microprocessor to act as a CPU and hence they come under the category of microcomputer.  The term microcomputer is generally synonymous with personal computer. 03-Aug-201113 www.eazynotes.com
  • 14. Some Definitions  Multiprocessor System:  The CPU of a large powerful digital computer contains more than one microprocessor.  High-end powerful servers, mainframe computers, supercomputers, etc. contain more than one microprocessor to act as CPU.  A computer whose CPU contains more than one microprocessor is called Multiprocessor System. 03-Aug-201114 www.eazynotes.com
  • 15. Some Definitions  Microcontroller:  A highly integrated chip that contains all the components such as CPU, RAM, some form of ROM, I/O ports, and timers is called Microcontroller.  Unlike a general-purpose computer, which also includes all of these components, a microcontroller is designed for a very specific task to control a particular system. 03-Aug-201115 www.eazynotes.com
  • 16. Microprocessor Characteristics  Instruction Set:  The set of instructions that a microprocessor can understand.  Bandwidth:  The number of bits processed in a single instruction.  Capability:  It depends upon the number of instructions and capability of each instruction. 03-Aug-201116 www.eazynotes.com
  • 17. Microprocessor Characteristics  Clock Speed:  The clock speed determines how many operations per second the processor can perform.  It is also called Clock Rate.  Every computer contains an internal clock that regulates the rate at which instructions are executed and synchronizes the various computer components.  The faster the clock, the more instructions the CPU can execute per second.  Clock speeds are expressed in megahertz (MHz) or gigahertz (GHz).  The microprocessors of personal computers have clock speeds of anywhere from 300 MHz to over 3.8 GHz. 03-Aug-201117 www.eazynotes.com
  • 18. Microprocessor Characteristics  Word Length:  It depends upon the width of internal data bus, registers, ALU etc.  An 8-bit microprocessor can process 8 bit data at a time.  A processor with longer word length is more powerful and can process data at a faster speed as compared to processor with shorter word length.  The word length ranges from 4 bits for small microprocessor, to 64 bits for high-end microcomputers. 03-Aug-201118 www.eazynotes.com
  • 19. Microprocessor Characteristics  Width of Data Bus:  This is the size of the data bus. It defines the number of bits that can be transferred through data bus.  Width of Address Bus:  This parameter decides the memory addressing capability of the microprocessor. The maximum size of the memory unit is decided by this parameter.  Input/Output Addressing Capability:  The maximum number of the input/output ports accessed by the microprocessor depends upon the width of the input/output address provided in the input/output instruction. 03-Aug-201119 www.eazynotes.com
  • 20. Microprocessor Characteristics  Data Types:  The microprocessor handles various types of data formats like binary, BCD, ASCII, signed and unsigned numbers.  Interrupt Capability:  Interrupts are used to handle unpredictable and random events in the microcomputer.  It is used to interrupt the microprocessor.  Interrupt driven input/output improves the throughput of a system. 03-Aug-201120 www.eazynotes.com
  • 21. Features of Microprocessor  Cost:  The most important feature of a microcomputer is its low cost.  Because of the widespread use of microprocessors, the volume of production is very high.  That is why, microprocessor chips are available at fairly low prices.  Size:  The second important feature of a microprocessor is its small size.  As a result of improvement in fabrication technology, VLSI, electronic circuitry has become so dense that a minute silicon chip can contain hundred and thousands of transistors. 03-Aug-201121 www.eazynotes.com
  • 22. Features of Microprocessor  Power Consumption:  Another important feature is its low power consumption.  Microprocessors are normally manufactured by Metal-Oxide semiconductor technology, which has the feature of low power consumption.  Versatility:  The microprocessors are versatile.  Keeping the same basic hardware, a microprocessor-based system can be configured for a number of applications by simply altering the software program.  Reliability:  Another important property of microprocessors is its extreme reliability.  It has been established that the failure rate of an IC is fairly uniform at the package level, regardless of its complexity. 03-Aug-201122 www.eazynotes.com
  • 23. Micron  A unit of length equal to one millionth of a meter.  It is denoted by µ (Mu).  For Example:  If we pluck a hair from the head, it is very thin.  But a hair is more than 2000 times wider than a transistor on a microprocessor.  Wires between transistors are even thinner.  They're more than 4000 times thinner than a hair.  A hair is about 100 microns in diameter.  That means, a transistor is just 0.045 microns wide. 03-Aug-201123 www.eazynotes.com