SlideShare una empresa de Scribd logo
1 de 19
Descargar para leer sin conexión
Microprocessor
CSIT_Nepal
Unit 1
Contents
• Introduction to Microprocessor
• Components of a Microprocessor: Registers, ALU and control & timing
• System bus (data, address and control bus)
• Microprocessor systems with bus organization
Introduction
• A microprocessor is a general purpose programmable logic device.
• A thorough understanding of the microprocessor demands concept and
skills from two different disciplines: -
• Hardware concept from electronics
• Programming skills from computer science
• Microprocessor systems are discussed in terms of four components: -
• Microprocessor
• Memory
• Input
• Output
and their communications
Background:
Bit- a binary digit, 0 or 1.
Byte- A group of 8-bits.
Nibble- a group of 4 bits.
Word – A group of bits used for special purpose, foe e.g. a 4-bit computer may have word of 4-bits.
Instruction – A command in binary that is recognized and executed by a computer to accomplish a task.
Program – A set of instruction in a sequential order to accomplish a given task.
Machine language - Binary medium of communication.
Low level language – A medium of communication that is machine dependent or specific to the computer. The machine
and assembly language are low level language. Programs written in those languages are not transferable.
High level language – it is independent to the given computer. Programs are written in English like words that can be
executed on a machine using a translator.
Compiler – A program that translates the high level language into low level/machine language. A compiler reads source
code, translates it into the machine language, called object code.
Interpreter – It translates English like statement of high level language into machine language of computer. It translates
one line at a time from the source code to object code.
Process: a series of actions or steps taken to achieve an end result.
Processor: a machine that completes process.
IC: multi-function circuit are combined in a single chip.
Microprocessor:
Arithmetic and logic unit(ALU), Control Unit(CU), and registers integrated
into a single chip using LSI and VLSI technique, then the resulting processor
is known as Microprocessor unit(MU) or simply Microprocessor.
 It is a multipurpose, programmable, clock-driven, register-based electronic
device that reads binary instruction from a storage device (called
memory), accepts binary as input and processes data according to those
instructions and provides result as output.
 Each MP communicates and operates in the binary number 0 and 1, called
bits.
 Each MP has fixed sets of instructions in the form of binary pattern called a
machine language.
 Generally, one or more microprocessor serves typically as a CPU.
Applications
• Test instruments
• Communications
• Computer
• Industries
• Aerospace
Basic characteristics
• Instruction set: total no of instructions that a Microprocessor can
handle.
• Bandwidth: the total no of bits processed in a single system. E.g.: 32
bit (x86), 64 bit (x64).
• Clock speed: No of instructions that processor can execute per
second. Unit of clock speed is MIPS (Millions Of Instructions per
seconds).
Evolution of Microprocessor (Intel Series)
Microcomputer
• It is a computer with a CPU as a MP designed for personal use.
• It contains MP, memory and I/O unit.
• It is smaller than mainframe and minicomputer.
Microcontroller
• Microprocessor that is embedded into a larger system for controlling purpose.
• It is a small single chip computer or single IC containing MP, memory and
programmable I/O peripherals.
• E.g. 89c51 microcontroller
• 8051 processor
• 128X8 bit RAM
• 4 KB flash memory.
Q. Distinguish between microprocessor and microcontroller.
Basic Block Diagram of a computer:
• Traditional
• with four components such as
• memory,
• input,
• output and
• central processing unit (CPU)
which consists of arithmetic logic unit
(ALU) and control unit (CU).
Input
Arithmetic/Logic
Unit (ALU)
Control Unit
Memory
Output
CPU
Fig: Traditional block diagram of a computer
• Around late 1960s,
traditional block diagram
was replaced with computers
having microprocessor as CPU
which is known as microcomputers.
• CPU was designed using
integrated circuits (IC) technology
which provides the possibility to build the CPU on a single chip.
Input
Microprocessor
as CPU
Memory
Output
Fig: Block Diagram of a computer
with the microprocessor as CPU
Organization of Microprocessor Based System
1. Microprocessor (MP):
The microprocessor unit can be divided into three segments:
i. ALU
• This unit performs all arithmetic and logical operations
as specified by instruction set; and produces output.
• The results of addition, subtraction, and logical
operations (AND, OR, XOR etc.) are stored in the registers
or in memory unit or sent to output unit.
ii. Register unit
• Consists of various registers.
• Used for temporary storage of data during execution of program and are accessible to user with the help of
instruction.
iii. CU
• Controls the operations of different instructions.
• Provides necessary timing and control signals to all the operations in the MP and peripherals including memory.
input output
System bus
ALU Register
Array
Control unit
ROM RAM
Microprocessor
Memory
2. Memory
• Stores binary information such as instruction and data, and provide this information to MP when
required.
• To execute programs, the MP reads data and instructions from memory and performs the computing
operations.
• ROM is used to store the program and data which need not to be modified.
• RAM is used to store the program and data that can be rewrite and modified frequently as per the
requirement.
3. System bus
• The system bus is a communication path between MP and peripherals.
• It is used to carry data, address and control signals.
• It consists:
• Data bus: carries data
• Address bus: carries address
• Control bus: carries control signals
4. I/O bus
• Input unit is used to input instruction or data to the MP externally.
• Output unit is used to carry out the information from the MP unit.
Bus Organization
Memory Input Unit Out-Put unit
Control Bus
MPU
(Micro Processor
Unit)
Address Bus
Data Bus
Fig: Typical Block diagram of Bus Organization of 8085 Microprocessor
Address Bus:
 It is a unidirectional bus (single ended), consists of 16, 20, 24, 32, 64 parallel lines.
 MPU sends address of memory or I/O to operate.
 Number of bits in address bus determines maximum memory size that a MP can address.
 No. of memory location =2^ no of bits of address bus
 For 16 bit = 2^16 =65536
Data Bus:
 It is a bidirectional bus, consists of 8, 16 or 32 parallel lines.
 Used to carry data to and from the memory and peripheral devices.
 The bits in a data bus determine the speed and maximum data flow of a processor at
given constant clock speed.
 Many devices are connected to the data bus but only one operates at a time.
 Devices connected to the data bus through Tri-State Buffer can be disabled if not in use.
 E.g.: 8-bit data bus, 16-bit data is to be carries, should be done in two cycle.
Control Bus:
 Consist of 4 to 10 parallel lines.
 Use to control the access to and the use of data and address bus.
 Transmit both command and timing signals.
 Command specifies the operation to be done.
 Timing indicates the validity of data and address information.
 Control bus is connected to each and every component of the system.
 E.g.: memory read/ write, I/O read/write, Bus request, Bus grant etc.
Von Neumann machine and Harvard architecture
Main
memory
ALU
PCU
I/o
equipment
Fig: Von Neumann Architecture
Q. What is stored program concept? How this lead to the evolution of modern computers?
Program Memory CPU
Data Memory
Program Memory Data bus
Program memory Address bus
Data Memory data bus
Data Memory Address bus
Fig: Harvard Architecture

Más contenido relacionado

La actualidad más candente

Microprocessor note
Microprocessor noteMicroprocessor note
Microprocessor notealokbhatta
 
introduction to microprocessor and microcomputer
introduction to microprocessor and microcomputerintroduction to microprocessor and microcomputer
introduction to microprocessor and microcomputerSatya P. Joshi
 
Assembly Language and Structures of Microcomputer | Chap-1
Assembly Language and Structures of Microcomputer | Chap-1Assembly Language and Structures of Microcomputer | Chap-1
Assembly Language and Structures of Microcomputer | Chap-1Nafis Ahmed
 
microprocessor Lec 01 mic
microprocessor Lec 01 micmicroprocessor Lec 01 mic
microprocessor Lec 01 miciqbal ahmad
 
01 introduction to microcomputers
01 introduction to microcomputers01 introduction to microcomputers
01 introduction to microcomputersayeshasafdar8
 
Overview of microcontroller and microprocessor
Overview of microcontroller and microprocessor Overview of microcontroller and microprocessor
Overview of microcontroller and microprocessor Mrunal Deshkar
 
introduction to microprocessors
introduction to microprocessorsintroduction to microprocessors
introduction to microprocessorsvishi1993
 
introduction to microprocessors
introduction to microprocessorsintroduction to microprocessors
introduction to microprocessorssudheerkethamreddy
 
Chapter 2-8085 Microprocessor Architecture and Microcomputer Systems
Chapter 2-8085 Microprocessor Architecture and Microcomputer SystemsChapter 2-8085 Microprocessor Architecture and Microcomputer Systems
Chapter 2-8085 Microprocessor Architecture and Microcomputer Systemscmkandemir
 
Input Output - Computer Architecture
Input Output - Computer ArchitectureInput Output - Computer Architecture
Input Output - Computer ArchitectureMaruf Abdullah (Rion)
 
Microprocessor & Micro-controller
Microprocessor & Micro-controllerMicroprocessor & Micro-controller
Microprocessor & Micro-controllerOm Bheda
 
Hardware I/O organization
Hardware  I/O organization Hardware  I/O organization
Hardware I/O organization faria_khan
 

La actualidad más candente (20)

Data Manipulation
Data ManipulationData Manipulation
Data Manipulation
 
Microprocessor note
Microprocessor noteMicroprocessor note
Microprocessor note
 
Microprocessor
MicroprocessorMicroprocessor
Microprocessor
 
introduction to microprocessor and microcomputer
introduction to microprocessor and microcomputerintroduction to microprocessor and microcomputer
introduction to microprocessor and microcomputer
 
Assembly Language and Structures of Microcomputer | Chap-1
Assembly Language and Structures of Microcomputer | Chap-1Assembly Language and Structures of Microcomputer | Chap-1
Assembly Language and Structures of Microcomputer | Chap-1
 
Micro 2
Micro 2Micro 2
Micro 2
 
Microprocessor
MicroprocessorMicroprocessor
Microprocessor
 
Microprocessor
MicroprocessorMicroprocessor
Microprocessor
 
microprocessor Lec 01 mic
microprocessor Lec 01 micmicroprocessor Lec 01 mic
microprocessor Lec 01 mic
 
microprocessor
microprocessor microprocessor
microprocessor
 
01 introduction to microcomputers
01 introduction to microcomputers01 introduction to microcomputers
01 introduction to microcomputers
 
Overview of microcontroller and microprocessor
Overview of microcontroller and microprocessor Overview of microcontroller and microprocessor
Overview of microcontroller and microprocessor
 
introduction to microprocessors
introduction to microprocessorsintroduction to microprocessors
introduction to microprocessors
 
introduction to microprocessors
introduction to microprocessorsintroduction to microprocessors
introduction to microprocessors
 
Co notes
Co notesCo notes
Co notes
 
Chapter 2-8085 Microprocessor Architecture and Microcomputer Systems
Chapter 2-8085 Microprocessor Architecture and Microcomputer SystemsChapter 2-8085 Microprocessor Architecture and Microcomputer Systems
Chapter 2-8085 Microprocessor Architecture and Microcomputer Systems
 
Input Output - Computer Architecture
Input Output - Computer ArchitectureInput Output - Computer Architecture
Input Output - Computer Architecture
 
Microprocessor & Micro-controller
Microprocessor & Micro-controllerMicroprocessor & Micro-controller
Microprocessor & Micro-controller
 
Hardware I/O organization
Hardware  I/O organization Hardware  I/O organization
Hardware I/O organization
 
Computer Evolution
Computer EvolutionComputer Evolution
Computer Evolution
 

Similar a Unit 1. introduction

Microprocessor fundamentals
Microprocessor fundamentalsMicroprocessor fundamentals
Microprocessor fundamentalsJLoknathDora
 
I. Introduction to Microprocessor System.ppt
I. Introduction to Microprocessor System.pptI. Introduction to Microprocessor System.ppt
I. Introduction to Microprocessor System.pptHAriesOa1
 
Micro controller
Micro controllerMicro controller
Micro controllerDevi Prasad
 
Module -4_microprocessor (1).pptx
Module -4_microprocessor (1).pptxModule -4_microprocessor (1).pptx
Module -4_microprocessor (1).pptxDrVaibhavMeshram
 
POLITEKNIK MALAYSIA
POLITEKNIK MALAYSIAPOLITEKNIK MALAYSIA
POLITEKNIK MALAYSIAAiman Hud
 
micro controllers 1.ppt
micro controllers 1.pptmicro controllers 1.ppt
micro controllers 1.pptsiminkhan
 
Computer Architecture and Organization.pptx
Computer Architecture and Organization.pptxComputer Architecture and Organization.pptx
Computer Architecture and Organization.pptxLearnersCoach
 
1. Introduction to Microprocessor.pptx
1. Introduction to Microprocessor.pptx1. Introduction to Microprocessor.pptx
1. Introduction to Microprocessor.pptxISMT College
 
Bindura university of science education
Bindura university of science educationBindura university of science education
Bindura university of science educationInnocent Tauzeni
 
Microprocessor Based Systems.ppt
Microprocessor Based Systems.pptMicroprocessor Based Systems.ppt
Microprocessor Based Systems.pptTALHARIAZ46
 
Introduction to 8085 Microprocessor.pptx
Introduction to 8085 Microprocessor.pptxIntroduction to 8085 Microprocessor.pptx
Introduction to 8085 Microprocessor.pptxVishalGaur54
 
Chapter_2_Embedded Systems Design_introduction_ARM.pdf
Chapter_2_Embedded Systems Design_introduction_ARM.pdfChapter_2_Embedded Systems Design_introduction_ARM.pdf
Chapter_2_Embedded Systems Design_introduction_ARM.pdfEngrNoumanMemon
 
4CS3-MPI-Unit-1.pptx
4CS3-MPI-Unit-1.pptx4CS3-MPI-Unit-1.pptx
4CS3-MPI-Unit-1.pptxLofi19
 
Micro controller and dsp processor
Micro controller and dsp processorMicro controller and dsp processor
Micro controller and dsp processorShubhamMishra485
 
Unit 1 computer architecture (1)
Unit 1   computer architecture (1)Unit 1   computer architecture (1)
Unit 1 computer architecture (1)DevaKumari Vijay
 
Chapter 02 system unit csc & tts
Chapter 02 system unit csc & ttsChapter 02 system unit csc & tts
Chapter 02 system unit csc & ttsHisyam Rosly
 

Similar a Unit 1. introduction (20)

Microprocessor fundamentals
Microprocessor fundamentalsMicroprocessor fundamentals
Microprocessor fundamentals
 
I. Introduction to Microprocessor System.ppt
I. Introduction to Microprocessor System.pptI. Introduction to Microprocessor System.ppt
I. Introduction to Microprocessor System.ppt
 
Micro controller
Micro controllerMicro controller
Micro controller
 
Module -4_microprocessor (1).pptx
Module -4_microprocessor (1).pptxModule -4_microprocessor (1).pptx
Module -4_microprocessor (1).pptx
 
POLITEKNIK MALAYSIA
POLITEKNIK MALAYSIAPOLITEKNIK MALAYSIA
POLITEKNIK MALAYSIA
 
micro controllers 1.ppt
micro controllers 1.pptmicro controllers 1.ppt
micro controllers 1.ppt
 
Cao u1
Cao u1Cao u1
Cao u1
 
ch1.pptx
ch1.pptxch1.pptx
ch1.pptx
 
Computer Architecture and Organization.pptx
Computer Architecture and Organization.pptxComputer Architecture and Organization.pptx
Computer Architecture and Organization.pptx
 
1. Introduction to Microprocessor.pptx
1. Introduction to Microprocessor.pptx1. Introduction to Microprocessor.pptx
1. Introduction to Microprocessor.pptx
 
Bindura university of science education
Bindura university of science educationBindura university of science education
Bindura university of science education
 
Microprocessor Based Systems.ppt
Microprocessor Based Systems.pptMicroprocessor Based Systems.ppt
Microprocessor Based Systems.ppt
 
Introduction to 8085 Microprocessor.pptx
Introduction to 8085 Microprocessor.pptxIntroduction to 8085 Microprocessor.pptx
Introduction to 8085 Microprocessor.pptx
 
Chapter_2_Embedded Systems Design_introduction_ARM.pdf
Chapter_2_Embedded Systems Design_introduction_ARM.pdfChapter_2_Embedded Systems Design_introduction_ARM.pdf
Chapter_2_Embedded Systems Design_introduction_ARM.pdf
 
4CS3-MPI-Unit-1.pptx
4CS3-MPI-Unit-1.pptx4CS3-MPI-Unit-1.pptx
4CS3-MPI-Unit-1.pptx
 
Micro controller and dsp processor
Micro controller and dsp processorMicro controller and dsp processor
Micro controller and dsp processor
 
Unit I.pptx
Unit I.pptxUnit I.pptx
Unit I.pptx
 
Unit 1 computer architecture (1)
Unit 1   computer architecture (1)Unit 1   computer architecture (1)
Unit 1 computer architecture (1)
 
Chapter 02 system unit csc & tts
Chapter 02 system unit csc & ttsChapter 02 system unit csc & tts
Chapter 02 system unit csc & tts
 
Microprocessor
MicroprocessorMicroprocessor
Microprocessor
 

Último

VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Bookingdharasingh5698
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdfankushspencer015
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VDineshKumar4165
 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapRishantSharmaFr
 
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startQuintin Balsdon
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdfKamal Acharya
 
Online banking management system project.pdf
Online banking management system project.pdfOnline banking management system project.pdf
Online banking management system project.pdfKamal Acharya
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756dollysharma2066
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...Call Girls in Nagpur High Profile
 
Block diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptBlock diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptNANDHAKUMARA10
 
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.pptxJuliansyahHarahap1
 
chapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineeringchapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineeringmulugeta48
 
notes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptnotes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptMsecMca
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXssuser89054b
 

Último (20)

Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024
 
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
 
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - V
 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leap
 
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
 
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the start
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdf
 
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
 
Online banking management system project.pdf
Online banking management system project.pdfOnline banking management system project.pdf
Online banking management system project.pdf
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
 
Block diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptBlock diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.ppt
 
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
 
chapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineeringchapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineering
 
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
 
notes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptnotes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.ppt
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 

Unit 1. introduction

  • 2. Unit 1 Contents • Introduction to Microprocessor • Components of a Microprocessor: Registers, ALU and control & timing • System bus (data, address and control bus) • Microprocessor systems with bus organization
  • 3. Introduction • A microprocessor is a general purpose programmable logic device. • A thorough understanding of the microprocessor demands concept and skills from two different disciplines: - • Hardware concept from electronics • Programming skills from computer science • Microprocessor systems are discussed in terms of four components: - • Microprocessor • Memory • Input • Output and their communications
  • 4. Background: Bit- a binary digit, 0 or 1. Byte- A group of 8-bits. Nibble- a group of 4 bits. Word – A group of bits used for special purpose, foe e.g. a 4-bit computer may have word of 4-bits. Instruction – A command in binary that is recognized and executed by a computer to accomplish a task. Program – A set of instruction in a sequential order to accomplish a given task. Machine language - Binary medium of communication. Low level language – A medium of communication that is machine dependent or specific to the computer. The machine and assembly language are low level language. Programs written in those languages are not transferable. High level language – it is independent to the given computer. Programs are written in English like words that can be executed on a machine using a translator. Compiler – A program that translates the high level language into low level/machine language. A compiler reads source code, translates it into the machine language, called object code. Interpreter – It translates English like statement of high level language into machine language of computer. It translates one line at a time from the source code to object code. Process: a series of actions or steps taken to achieve an end result. Processor: a machine that completes process. IC: multi-function circuit are combined in a single chip.
  • 5. Microprocessor: Arithmetic and logic unit(ALU), Control Unit(CU), and registers integrated into a single chip using LSI and VLSI technique, then the resulting processor is known as Microprocessor unit(MU) or simply Microprocessor.  It is a multipurpose, programmable, clock-driven, register-based electronic device that reads binary instruction from a storage device (called memory), accepts binary as input and processes data according to those instructions and provides result as output.  Each MP communicates and operates in the binary number 0 and 1, called bits.  Each MP has fixed sets of instructions in the form of binary pattern called a machine language.  Generally, one or more microprocessor serves typically as a CPU.
  • 6. Applications • Test instruments • Communications • Computer • Industries • Aerospace
  • 7. Basic characteristics • Instruction set: total no of instructions that a Microprocessor can handle. • Bandwidth: the total no of bits processed in a single system. E.g.: 32 bit (x86), 64 bit (x64). • Clock speed: No of instructions that processor can execute per second. Unit of clock speed is MIPS (Millions Of Instructions per seconds).
  • 9.
  • 10. Microcomputer • It is a computer with a CPU as a MP designed for personal use. • It contains MP, memory and I/O unit. • It is smaller than mainframe and minicomputer. Microcontroller • Microprocessor that is embedded into a larger system for controlling purpose. • It is a small single chip computer or single IC containing MP, memory and programmable I/O peripherals. • E.g. 89c51 microcontroller • 8051 processor • 128X8 bit RAM • 4 KB flash memory. Q. Distinguish between microprocessor and microcontroller.
  • 11. Basic Block Diagram of a computer: • Traditional • with four components such as • memory, • input, • output and • central processing unit (CPU) which consists of arithmetic logic unit (ALU) and control unit (CU). Input Arithmetic/Logic Unit (ALU) Control Unit Memory Output CPU Fig: Traditional block diagram of a computer
  • 12. • Around late 1960s, traditional block diagram was replaced with computers having microprocessor as CPU which is known as microcomputers. • CPU was designed using integrated circuits (IC) technology which provides the possibility to build the CPU on a single chip. Input Microprocessor as CPU Memory Output Fig: Block Diagram of a computer with the microprocessor as CPU
  • 13. Organization of Microprocessor Based System 1. Microprocessor (MP): The microprocessor unit can be divided into three segments: i. ALU • This unit performs all arithmetic and logical operations as specified by instruction set; and produces output. • The results of addition, subtraction, and logical operations (AND, OR, XOR etc.) are stored in the registers or in memory unit or sent to output unit. ii. Register unit • Consists of various registers. • Used for temporary storage of data during execution of program and are accessible to user with the help of instruction. iii. CU • Controls the operations of different instructions. • Provides necessary timing and control signals to all the operations in the MP and peripherals including memory. input output System bus ALU Register Array Control unit ROM RAM Microprocessor Memory
  • 14. 2. Memory • Stores binary information such as instruction and data, and provide this information to MP when required. • To execute programs, the MP reads data and instructions from memory and performs the computing operations. • ROM is used to store the program and data which need not to be modified. • RAM is used to store the program and data that can be rewrite and modified frequently as per the requirement. 3. System bus • The system bus is a communication path between MP and peripherals. • It is used to carry data, address and control signals. • It consists: • Data bus: carries data • Address bus: carries address • Control bus: carries control signals 4. I/O bus • Input unit is used to input instruction or data to the MP externally. • Output unit is used to carry out the information from the MP unit.
  • 15. Bus Organization Memory Input Unit Out-Put unit Control Bus MPU (Micro Processor Unit) Address Bus Data Bus Fig: Typical Block diagram of Bus Organization of 8085 Microprocessor
  • 16. Address Bus:  It is a unidirectional bus (single ended), consists of 16, 20, 24, 32, 64 parallel lines.  MPU sends address of memory or I/O to operate.  Number of bits in address bus determines maximum memory size that a MP can address.  No. of memory location =2^ no of bits of address bus  For 16 bit = 2^16 =65536 Data Bus:  It is a bidirectional bus, consists of 8, 16 or 32 parallel lines.  Used to carry data to and from the memory and peripheral devices.  The bits in a data bus determine the speed and maximum data flow of a processor at given constant clock speed.  Many devices are connected to the data bus but only one operates at a time.  Devices connected to the data bus through Tri-State Buffer can be disabled if not in use.  E.g.: 8-bit data bus, 16-bit data is to be carries, should be done in two cycle.
  • 17. Control Bus:  Consist of 4 to 10 parallel lines.  Use to control the access to and the use of data and address bus.  Transmit both command and timing signals.  Command specifies the operation to be done.  Timing indicates the validity of data and address information.  Control bus is connected to each and every component of the system.  E.g.: memory read/ write, I/O read/write, Bus request, Bus grant etc.
  • 18. Von Neumann machine and Harvard architecture Main memory ALU PCU I/o equipment Fig: Von Neumann Architecture Q. What is stored program concept? How this lead to the evolution of modern computers?
  • 19. Program Memory CPU Data Memory Program Memory Data bus Program memory Address bus Data Memory data bus Data Memory Address bus Fig: Harvard Architecture