SlideShare a Scribd company logo
1 of 55
Download to read offline
MICROPROCESSOR(EEC-406)
NAVEEN KR. DUBEY
DEPT. OF ELECTRONICS
RKGITW
(Sc. Mechatronics scientist association)
BASIC INTRODUCTION:-
 • A Computer is a programmable machine.
 The two principal characteristics of a computer are:
 • It responds to a specific set of instructions in a
welldefined manner.
 • It can execute a prerecorded list of instructions (a
program ).
 Modern computers are electronic and digital .
 The actual machinery wires, transistors, and circuits is
called hardware. the instructions and data are called
software.
MICROPROCESSOR:-
 A silicon chip that contains a CPU.
“CPU ON SIGLE CHIP”
 In the world of personal computers, the terms
microprocessor and CPU are used interchangeably.
 A microprocessor(sometimes abbreviated µ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.
APPLICATIONS:
Microprocessors made possible the advent of the
microcomputer.
At the heart of all personal computers and most
working stations sits a microprocessor.
Microprocessors also control the logic of almost all
digital devices, from clock radios to fuel-injection
systems for automobiles.
CHARACTERSTICS PARAMETERS:-
Three basic characteristics differentiate
microprocessors:
Instruction set: The set of instructions that the
microprocessor can execute.
Bus width : The number of bits processed in a
single instruction.
Clock speed : Given in megahertz (MHz), the
clock speed determines how many instructions per
second the processor can execute.
NOTE:
In both cases, the higher the value, the more
powerful the CPU. For example, a 32 bit
microprocessor that runs at 50MHz is more
powerful than a 16-bit microprocessor that
runs at 50MHz.
MICROCONTROLLER:-
“A Microcontroller is nothing but a complete
microcomputer”
Typically this includes a CPU, RAM, some form of
ROM, I/O ports, and timers.
a microcontroller is designed for a very specific task -
to control a particular system.
A microcontroller is meant to be more self-contained
and independent, and functions as a tiny, dedicated
computer.
Evolution of Micro Processor:-
History shows that the ancient Babylonians first began
using abacus(a primitive calculator made of beads)
in about 500B.C
in 1971 Intel corporation released worlds first
microprocessor the INTEL 4004, a 4- bit
microprocessor.
1st Generation of microprocessor:-
The microprocessors introduced between 1971 to
1973 were the 1st Generation microprocessor.
they were designed using P-mos technology, it was
low cost, slow speed microprocessor.
were not compatible with TTL.
4 bit provides 8 or 16 pin and 16-bit processor
provide 40 pins.
List of Processors in 1-G:
4 bit processors:
- INTEL 4004 - ROCKWELL PPP-4
- FAIR CHILD PPS-25 -NATIONAL- IMP-4
- INTEL 4040
8-bit processors:
-INTEL 8008 - NATIONAL IMP-8 , - AMI 7200
ROCKWELL PPS-8
16-bit processors
-NATIONAL IMP/16 -NATONAL PALE
2ND GENERATION:-
Manufactured using NMOS technology, offers high
speed than PMOS.
compatible with TTL.
LIST OF PROCESSORS:
8-bit processors:
-INTEL 8080 - INTEL 8085
-FAIRCHILD F-8 -MOTOROLA M6800
-MOTOROLA M6809 -NATIONAL CMP-8
-RCA COSMAC -SIGNETIC 2650 – ZILOG 780
12-bit processors:
-INTER SIL 6100 -TOSHIBA TLCS-12
16- bit processors:
-T1 TMS 9900 -DEC-WD MCP1600
-GENERAL INSTRUMENT CD 1600
-DATA GENERAL µn 601
2-G Processors characterstics:
 Larger chip size.
 40 – pins
 More number of on-chip decoded timing signal.
 The ability to address more I/O ports.
 Faster operation.
 More powerful instruction set.
 Better interrupt handling capabilities.
3rd GENERATION:
3rd generation introduced after 1978.
- These are 16- bit processors, designed using
HMOS(high density MOS technology).
List of processors:
-INTEL 8086 -MOTOROLA 68000
-INTEL 80808 - MOTOROLA 68010
-INTEL 80186 - ZILOG Z8000
-INTEL 80286 - NATIONAL NS 16016
-TEXAS INSTRUMENTATION TMS 99000.
HMOS technology offers better speed power
product (spp)and high packing density than NMOS.
spp =Speed X Power = nano second X milliwatt
= picojoules.
Characteristics.:
1: provided with 40/48/64 pins.
2:high speed and strong processing capability.
3: easier to program.
4: size of internal registers 8/16/32 bits.
5: processor having multiply ,divide arithmetic H/W
6: the physical memory space 1 to 16 MB.
7: flexible I/Oport addressing.
4th GENERATIOIN:
4th generation introduced in the year 1980. these are
32- bit processor and fabricated with low power
version of HMOS.
LIST OF PROCESSORS:
-INTEL 80386 - MOTOROLA M68020
- INTEL 80486 - NOTOROLA M68030
- MOTOROLA MC88100
-BELL MAC 32
- NATIONAL NSI16032
 4-G CHARACTERSTICS :
1: PHYSICAL MEMORY SPACE =16 MB (2^32)
2:VIRTUAL MEMORY SPACE =1TB.
3: SUPPORTS INCREASED NUBER OF ADDRESSING
MODE.
In microprocessor technology INTEL has taken leading role.
The latest processor by INTEL is PENTIUM it’s a 64 bit
processor..
With semiconductor technology improvement speed of
microprocessors increased tremendously.
MICRO
PROCESSOR
ARCHITECHTURE
Registers
Registers
Microprocessor
Instruction
Cache
Arithmetic
& Logic
Unit
Control
Unit
Bus
Interface
Unit
Data
Cache
Instruction
Decoder
I/O
RAM
Memory
Bus
System
Bus
Floating
Point
Unit
Bus Interface Unit
 Receives instructions & data from main memory
 Instructions are then sent to the instruction cache, data to
the data cache
 Also receives the processed data and sends it to the
main memory
Instruction Decoder
 This unit receives the programming instructions and
decodes them into a form that is understandable by the
processing units, i.e. the ALU or FPU
 Then, it passes on the decoded instruction to the ALU or
FPU
Arithmetic & Logic Unit (ALU)
 Also known as the “Integer Unit”
 It performs whole-number math calculations (subtract,
multiply, divide, etc) comparisons (is greater than, is
smaller than, etc.) and logical operations (NOT, OR, AND,
etc)
 The new breed of popular uPs have not one but two
almost identical ALU’s that can do calculations
simultaneously, doubling the capability
Floating-Point Unit (FPU)
 Also known as the “Numeric Unit”
 It performs calculations that involve numbers represented
in the scientific notation (also known as floating-point
numbers).
 This notation can represent extremely small and extremely
large numbers in a compact form
 Floating-point calculations are required for doing graphics,
engineering and scientific work
 The ALU can do these calculations as well, but will do them
very slowly
Registers
 Both ALU & FPU have a very small amount of super-fast
private memory placed right next to them for their
exclusive use. These are called registers
 The ALU & FPU store intermediate and final results from
their calculations in these registers
 Processed data goes back to the data cache and then to
main memory from these registers
Control Unit
 The brain of the uP
 Manages the whole uP
 Tasks include fetching instructions & data, storing
data, managing input/output devices
That was the structure, now
let’s talk about the language of
a μP
Instruction Set
 The set of machine instructions that a uP recognizes
and can execute – the only language uP knows
 An instruction set includes low-level, a single step-at-a-
time instructions, such as add, subtract, multiply, and
divide
 Each uP family has its unique instruction set
 Bigger instruction-sets mean more complex chips
(higher costs, reduced efficiency), but shorter programs
Addressing
 8 bit microprocessors have word length of 8 bits.
 Integer data from 0 to 255 may be represented
directly.
 To address memory, usually a longer word is needed.
 Most microprocessor have a 12 bit (4k) 14 (16k) or
16 bit (64k) memory address but longer address
words are also used.
Addressing modes:
“The addressing mode indicates where the operands
are located.”
Format Instruction:
1. Register Addressing Mode:
(Instruction gets its source data from a register.)
2. Immediate Addressing Mode:
(Immediate data is coded directly in the instruction’s
machine code.)
3. Direct Addressing Mode:
(The operand is stored in a MEMORY location, usually
in the Data Segment.)
4. Register Indirect Addressing Mode:
(RegisterIndirect Addressing uses a register instead of
a constant (as in d irect addressing) to specify the
16-bit offset address of the operand.).
5. Based Addressing Mode:
(The operand is located at the address given by
adding an 8- or 16-bit displacement to either BX or
BP and combining the result with a segment
register.)
6. Indexed Addressing Mode:
7. Based Index Addressing (with displacement)
(The base and index registers are added to give
the segment offset of where the operand is
located.)
8. String Addressing Mode:
( A string is a series of bytes or a series of words in
sequential memory locations)
9. Port Addressing Mode
Interrupt
“Divertingattention of any personor machine
(processor) while working”
: the external hardware or software means calling the
attention of processor is said to be interrupt”
 Microprocessor having provision of two interrupt:
1:software or polling interrupt
2: hardware interrupts.
Data transfer scheme:
Timerand
Timing diagram:-
Timing Diagrams
 HIGH
Low
(used for understand pin operations)
(Used for data transfer)
0
1
inactive active
Read Cycle:
rd'/wr
enable
addr
data
tsetup tread
0
write Cycle:
rd'/wr
addr
data
tsetup twrite
enble
INTERFACING
 “To communicate with micro processor interfacing is
required “
 To implement serial communicati0n in microprocessor
system we need basically two devices.
1: Parallel to serial converter.
2. Serial to parallel converter.
“To transmit byte data it is necessary to convert byte
into serial bits. This can be done by using the parallel
to serial converter . Similarly at reception those serial
bits must be converted in parallel.”
interfacing devices:-
USART:8251 A (universal synchronous asynchronous
receiver - transmitter):
-its a programmable chip designed for synchronous
and asynchronous serial data communication.
- It is compatible with 8085. it allows full duplex
transmission and reception.
-it is a in 28 pin DIP.
8255 PPI(Programmable Peripheral Interface)
-The INTEL 8255A is a device used to implement
parallel data transfer between processor and slow
peripheral devices like ADC,DAC, keyboard of
segment display etc.
- It works on three modes..
- 1: Mode-0  simple I/O port.
- 2: Mode-1  Handshake I/O port.
- 3: Mode-2  Bidirectional I/O port.
DMA controller – INTEL 8257
-The DMA controller has been developed for
8085/8086/8088 microprocessor based systems.
- It is a device dedicated to perform a high speed
data transfer between memory and I/O device.
- 8257 has four channels and so it can be used to
provide direct memory access to four I/O devices.
Keyboard & display controller-INTEL 8279:
- The Intel -8279 is a dedicated controller specially
developed for interfacing keyboard and display
devices to 8085/
-
Interfacing Issues
Three basic modes:
 1. Continuous dedicated monitoring of the sensor
by the microprocessor
 2. Polling the sensor
 3. Interrupt mode
Continuous mode
 Microprocessor is dedicated for use with the
sensor
 Its output is monitored by the microprocessor
continuously
 The microprocessor reads the sensor’s output at
a given rate
 Output is then used to act
Poling mode
 Sensor operates as if the microprocessor did not
exist.
 Its output is monitored by the microprocessor
 The microprocessor reads the sensor’s output at
a given rate or intervals – poling
 Output is then used to act
Interrupt mode
 Microprocessor is in sleep mode
 Outputs of the sensor are not being processed
 Upon a given event, microprocessor wakes up
through one of its interrupt options.
 The sensor activates the interrupt
Note:
 Interrupts can be timed
 Interrupts can be issued by sources other than
the sensor
 The microprocessor may be involved in other
functions, separate from the sensor, such as
control of an actuator
 Feedback from actuators may also be used to
perform interrupts
THANK
YOU

More Related Content

What's hot

INTERRUPTS OF 8086 MICROPROCESSOR
INTERRUPTS OF 8086 MICROPROCESSORINTERRUPTS OF 8086 MICROPROCESSOR
INTERRUPTS OF 8086 MICROPROCESSORGurudev joshi
 
Introduction to AVR Microcontroller
Introduction to AVR Microcontroller Introduction to AVR Microcontroller
Introduction to AVR Microcontroller Mahmoud Sadat
 
Pic microcontroller architecture
Pic microcontroller architecturePic microcontroller architecture
Pic microcontroller architectureDominicHendry
 
Chapter 1 microprocessor introduction
Chapter 1 microprocessor introductionChapter 1 microprocessor introduction
Chapter 1 microprocessor introductionShubham Singh
 
PIC MICROCONTROLLERS -CLASS NOTES
PIC MICROCONTROLLERS -CLASS NOTESPIC MICROCONTROLLERS -CLASS NOTES
PIC MICROCONTROLLERS -CLASS NOTESDr.YNM
 
OVERVIEW OF MSP430G2553
OVERVIEW OF MSP430G2553OVERVIEW OF MSP430G2553
OVERVIEW OF MSP430G2553shams tabrez
 
Introduction to Embedded Systems
Introduction to Embedded SystemsIntroduction to Embedded Systems
Introduction to Embedded SystemsSudhanshu Janwadkar
 
Introduction to ARM LPC2148
Introduction to ARM LPC2148Introduction to ARM LPC2148
Introduction to ARM LPC2148Veera Kumar
 
Pic microcontroller architecture
Pic microcontroller architecturePic microcontroller architecture
Pic microcontroller architectureJamia Hamdard
 
8051 Microcontroller PPT's By Er. Swapnil Kaware
8051 Microcontroller PPT's By Er. Swapnil Kaware8051 Microcontroller PPT's By Er. Swapnil Kaware
8051 Microcontroller PPT's By Er. Swapnil KawareProf. Swapnil V. Kaware
 
Programmable peripheral interface 8255
Programmable peripheral interface 8255Programmable peripheral interface 8255
Programmable peripheral interface 8255Marajulislam3
 

What's hot (20)

UART
UARTUART
UART
 
ARM Processors
ARM ProcessorsARM Processors
ARM Processors
 
INTERRUPTS OF 8086 MICROPROCESSOR
INTERRUPTS OF 8086 MICROPROCESSORINTERRUPTS OF 8086 MICROPROCESSOR
INTERRUPTS OF 8086 MICROPROCESSOR
 
Introduction to AVR Microcontroller
Introduction to AVR Microcontroller Introduction to AVR Microcontroller
Introduction to AVR Microcontroller
 
Microprocessor ppt
Microprocessor pptMicroprocessor ppt
Microprocessor ppt
 
Pic microcontroller architecture
Pic microcontroller architecturePic microcontroller architecture
Pic microcontroller architecture
 
Chapter 1 microprocessor introduction
Chapter 1 microprocessor introductionChapter 1 microprocessor introduction
Chapter 1 microprocessor introduction
 
80486 and pentium
80486 and pentium80486 and pentium
80486 and pentium
 
PIC MICROCONTROLLERS -CLASS NOTES
PIC MICROCONTROLLERS -CLASS NOTESPIC MICROCONTROLLERS -CLASS NOTES
PIC MICROCONTROLLERS -CLASS NOTES
 
OVERVIEW OF MSP430G2553
OVERVIEW OF MSP430G2553OVERVIEW OF MSP430G2553
OVERVIEW OF MSP430G2553
 
Introduction to Embedded Systems
Introduction to Embedded SystemsIntroduction to Embedded Systems
Introduction to Embedded Systems
 
ATMEGA 328
ATMEGA 328ATMEGA 328
ATMEGA 328
 
Introduction to ARM LPC2148
Introduction to ARM LPC2148Introduction to ARM LPC2148
Introduction to ARM LPC2148
 
Architecture of pentium family
Architecture of pentium familyArchitecture of pentium family
Architecture of pentium family
 
Pic microcontroller architecture
Pic microcontroller architecturePic microcontroller architecture
Pic microcontroller architecture
 
Interrupts of 8086
Interrupts of 8086Interrupts of 8086
Interrupts of 8086
 
8051 Microcontroller PPT's By Er. Swapnil Kaware
8051 Microcontroller PPT's By Er. Swapnil Kaware8051 Microcontroller PPT's By Er. Swapnil Kaware
8051 Microcontroller PPT's By Er. Swapnil Kaware
 
Programmable peripheral interface 8255
Programmable peripheral interface 8255Programmable peripheral interface 8255
Programmable peripheral interface 8255
 
Embedded C - Lecture 1
Embedded C - Lecture 1Embedded C - Lecture 1
Embedded C - Lecture 1
 
Pentium processor
Pentium processorPentium processor
Pentium processor
 

Similar to Microprocessor Fundamentals Explained

Microprocessor note
Microprocessor noteMicroprocessor note
Microprocessor notealokbhatta
 
Genesis & Progression of Processors in CPU
Genesis & Progression of Processors in CPUGenesis & Progression of Processors in CPU
Genesis & Progression of Processors in CPUAnkita Jangir
 
microprocessor unit1 2022.pptx
microprocessor unit1 2022.pptxmicroprocessor unit1 2022.pptx
microprocessor unit1 2022.pptx22X041SARAVANANS
 
1. Introduction to Microprocessor.pptx
1. Introduction to Microprocessor.pptx1. Introduction to Microprocessor.pptx
1. Introduction to Microprocessor.pptxISMT College
 
Microprocessors & Microcomputers Lecture Notes
Microprocessors & Microcomputers Lecture NotesMicroprocessors & Microcomputers Lecture Notes
Microprocessors & Microcomputers Lecture NotesFellowBuddy.com
 
M.sc I-sem-8086 notes
M.sc  I-sem-8086 notesM.sc  I-sem-8086 notes
M.sc I-sem-8086 notesDr.YNM
 
M.sc I-sem-8086 notes
M.sc  I-sem-8086 notesM.sc  I-sem-8086 notes
M.sc I-sem-8086 notesDr.YNM
 
EC 8691 Microprocessor and Microcontroller.pptx
EC 8691 Microprocessor and Microcontroller.pptxEC 8691 Microprocessor and Microcontroller.pptx
EC 8691 Microprocessor and Microcontroller.pptxGobinathAECEJRF1101
 
evolutionofmicroprocessors-100820113907-phpapp02.pptx
evolutionofmicroprocessors-100820113907-phpapp02.pptxevolutionofmicroprocessors-100820113907-phpapp02.pptx
evolutionofmicroprocessors-100820113907-phpapp02.pptxAashikHussain2
 
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.pptxbhaveshagrawal35
 
MICROPROCESSORS BASICS
MICROPROCESSORS BASICS MICROPROCESSORS BASICS
MICROPROCESSORS BASICS Prakash Rao
 
Introduction to Microprocessors
Introduction to MicroprocessorsIntroduction to Microprocessors
Introduction to MicroprocessorsSeble Nigussie
 
History of processor
History of processorHistory of processor
History of processorSana Ullah
 
I. Introduction to Microprocessor System.ppt
I. Introduction to Microprocessor System.pptI. Introduction to Microprocessor System.ppt
I. Introduction to Microprocessor System.pptHAriesOa1
 
Microprocessors and Applications
Microprocessors and ApplicationsMicroprocessors and Applications
Microprocessors and Applicationsrachurivlsi
 
8085 micro processor- notes
8085 micro  processor- notes8085 micro  processor- notes
8085 micro processor- notesDr.YNM
 
Micro controller and dsp processor
Micro controller and dsp processorMicro controller and dsp processor
Micro controller and dsp processorShubhamMishra485
 

Similar to Microprocessor Fundamentals Explained (20)

Microprocessor note
Microprocessor noteMicroprocessor note
Microprocessor note
 
Micro processor
Micro processorMicro processor
Micro processor
 
Genesis & Progression of Processors in CPU
Genesis & Progression of Processors in CPUGenesis & Progression of Processors in CPU
Genesis & Progression of Processors in CPU
 
microprocessor unit1 2022.pptx
microprocessor unit1 2022.pptxmicroprocessor unit1 2022.pptx
microprocessor unit1 2022.pptx
 
1. Introduction to Microprocessor.pptx
1. Introduction to Microprocessor.pptx1. Introduction to Microprocessor.pptx
1. Introduction to Microprocessor.pptx
 
Microprocessors & Microcomputers Lecture Notes
Microprocessors & Microcomputers Lecture NotesMicroprocessors & Microcomputers Lecture Notes
Microprocessors & Microcomputers Lecture Notes
 
M.sc I-sem-8086 notes
M.sc  I-sem-8086 notesM.sc  I-sem-8086 notes
M.sc I-sem-8086 notes
 
M.sc I-sem-8086 notes
M.sc  I-sem-8086 notesM.sc  I-sem-8086 notes
M.sc I-sem-8086 notes
 
EE6502 Microprocessor & Microcontroller Regulation 2013
EE6502 Microprocessor & Microcontroller Regulation 2013EE6502 Microprocessor & Microcontroller Regulation 2013
EE6502 Microprocessor & Microcontroller Regulation 2013
 
EC 8691 Microprocessor and Microcontroller.pptx
EC 8691 Microprocessor and Microcontroller.pptxEC 8691 Microprocessor and Microcontroller.pptx
EC 8691 Microprocessor and Microcontroller.pptx
 
evolutionofmicroprocessors-100820113907-phpapp02.pptx
evolutionofmicroprocessors-100820113907-phpapp02.pptxevolutionofmicroprocessors-100820113907-phpapp02.pptx
evolutionofmicroprocessors-100820113907-phpapp02.pptx
 
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
 
MICROPROCESSORS BASICS
MICROPROCESSORS BASICS MICROPROCESSORS BASICS
MICROPROCESSORS BASICS
 
Microprocessor
MicroprocessorMicroprocessor
Microprocessor
 
Introduction to Microprocessors
Introduction to MicroprocessorsIntroduction to Microprocessors
Introduction to Microprocessors
 
History of processor
History of processorHistory of processor
History of processor
 
I. Introduction to Microprocessor System.ppt
I. Introduction to Microprocessor System.pptI. Introduction to Microprocessor System.ppt
I. Introduction to Microprocessor System.ppt
 
Microprocessors and Applications
Microprocessors and ApplicationsMicroprocessors and Applications
Microprocessors and Applications
 
8085 micro processor- notes
8085 micro  processor- notes8085 micro  processor- notes
8085 micro processor- notes
 
Micro controller and dsp processor
Micro controller and dsp processorMicro controller and dsp processor
Micro controller and dsp processor
 

Recently uploaded

(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...ranjana rawat
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSRajkumarAkumalla
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxAsutosh Ranjan
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...Soham Mondal
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Dr.Costas Sachpazis
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130Suhani Kapoor
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSSIVASHANKAR N
 
Analog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAnalog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAbhinavSharma374939
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidNikhilNagaraju
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxupamatechverse
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxpranjaldaimarysona
 

Recently uploaded (20)

Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCRCall Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
 
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
 
Analog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAnalog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog Converter
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfid
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptx
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptx
 
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptxExploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
 
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINEDJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
 

Microprocessor Fundamentals Explained

  • 1. MICROPROCESSOR(EEC-406) NAVEEN KR. DUBEY DEPT. OF ELECTRONICS RKGITW (Sc. Mechatronics scientist association)
  • 2. BASIC INTRODUCTION:-  • A Computer is a programmable machine.  The two principal characteristics of a computer are:  • It responds to a specific set of instructions in a welldefined manner.  • It can execute a prerecorded list of instructions (a program ).  Modern computers are electronic and digital .  The actual machinery wires, transistors, and circuits is called hardware. the instructions and data are called software.
  • 3.
  • 4.
  • 5. MICROPROCESSOR:-  A silicon chip that contains a CPU. “CPU ON SIGLE CHIP”  In the world of personal computers, the terms microprocessor and CPU are used interchangeably.  A microprocessor(sometimes abbreviated µP)is a digital electronic component with miniaturized transistors on a single semiconductor integrated circuit (IC).
  • 6. One or more microprocessors typically serve as a central processing unit (CPU) in a computer system or handheld device.
  • 7. APPLICATIONS: Microprocessors made possible the advent of the microcomputer. At the heart of all personal computers and most working stations sits a microprocessor. Microprocessors also control the logic of almost all digital devices, from clock radios to fuel-injection systems for automobiles.
  • 8. CHARACTERSTICS PARAMETERS:- Three basic characteristics differentiate microprocessors: Instruction set: The set of instructions that the microprocessor can execute. Bus width : The number of bits processed in a single instruction. Clock speed : Given in megahertz (MHz), the clock speed determines how many instructions per second the processor can execute.
  • 9. NOTE: In both cases, the higher the value, the more powerful the CPU. For example, a 32 bit microprocessor that runs at 50MHz is more powerful than a 16-bit microprocessor that runs at 50MHz.
  • 10. MICROCONTROLLER:- “A Microcontroller is nothing but a complete microcomputer” Typically this includes a CPU, RAM, some form of ROM, I/O ports, and timers. a microcontroller is designed for a very specific task - to control a particular system. A microcontroller is meant to be more self-contained and independent, and functions as a tiny, dedicated computer.
  • 11.
  • 12. Evolution of Micro Processor:- History shows that the ancient Babylonians first began using abacus(a primitive calculator made of beads) in about 500B.C in 1971 Intel corporation released worlds first microprocessor the INTEL 4004, a 4- bit microprocessor.
  • 13. 1st Generation of microprocessor:- The microprocessors introduced between 1971 to 1973 were the 1st Generation microprocessor. they were designed using P-mos technology, it was low cost, slow speed microprocessor. were not compatible with TTL. 4 bit provides 8 or 16 pin and 16-bit processor provide 40 pins.
  • 14. List of Processors in 1-G: 4 bit processors: - INTEL 4004 - ROCKWELL PPP-4 - FAIR CHILD PPS-25 -NATIONAL- IMP-4 - INTEL 4040 8-bit processors: -INTEL 8008 - NATIONAL IMP-8 , - AMI 7200 ROCKWELL PPS-8 16-bit processors -NATIONAL IMP/16 -NATONAL PALE
  • 15. 2ND GENERATION:- Manufactured using NMOS technology, offers high speed than PMOS. compatible with TTL. LIST OF PROCESSORS: 8-bit processors: -INTEL 8080 - INTEL 8085 -FAIRCHILD F-8 -MOTOROLA M6800 -MOTOROLA M6809 -NATIONAL CMP-8 -RCA COSMAC -SIGNETIC 2650 – ZILOG 780
  • 16. 12-bit processors: -INTER SIL 6100 -TOSHIBA TLCS-12 16- bit processors: -T1 TMS 9900 -DEC-WD MCP1600 -GENERAL INSTRUMENT CD 1600 -DATA GENERAL µn 601
  • 17. 2-G Processors characterstics:  Larger chip size.  40 – pins  More number of on-chip decoded timing signal.  The ability to address more I/O ports.  Faster operation.  More powerful instruction set.  Better interrupt handling capabilities.
  • 18. 3rd GENERATION: 3rd generation introduced after 1978. - These are 16- bit processors, designed using HMOS(high density MOS technology). List of processors: -INTEL 8086 -MOTOROLA 68000 -INTEL 80808 - MOTOROLA 68010 -INTEL 80186 - ZILOG Z8000 -INTEL 80286 - NATIONAL NS 16016 -TEXAS INSTRUMENTATION TMS 99000.
  • 19. HMOS technology offers better speed power product (spp)and high packing density than NMOS. spp =Speed X Power = nano second X milliwatt = picojoules. Characteristics.: 1: provided with 40/48/64 pins. 2:high speed and strong processing capability. 3: easier to program. 4: size of internal registers 8/16/32 bits. 5: processor having multiply ,divide arithmetic H/W 6: the physical memory space 1 to 16 MB. 7: flexible I/Oport addressing.
  • 20. 4th GENERATIOIN: 4th generation introduced in the year 1980. these are 32- bit processor and fabricated with low power version of HMOS. LIST OF PROCESSORS: -INTEL 80386 - MOTOROLA M68020 - INTEL 80486 - NOTOROLA M68030 - MOTOROLA MC88100 -BELL MAC 32 - NATIONAL NSI16032
  • 21.  4-G CHARACTERSTICS : 1: PHYSICAL MEMORY SPACE =16 MB (2^32) 2:VIRTUAL MEMORY SPACE =1TB. 3: SUPPORTS INCREASED NUBER OF ADDRESSING MODE. In microprocessor technology INTEL has taken leading role. The latest processor by INTEL is PENTIUM it’s a 64 bit processor.. With semiconductor technology improvement speed of microprocessors increased tremendously.
  • 24. Bus Interface Unit  Receives instructions & data from main memory  Instructions are then sent to the instruction cache, data to the data cache  Also receives the processed data and sends it to the main memory
  • 25. Instruction Decoder  This unit receives the programming instructions and decodes them into a form that is understandable by the processing units, i.e. the ALU or FPU  Then, it passes on the decoded instruction to the ALU or FPU
  • 26. Arithmetic & Logic Unit (ALU)  Also known as the “Integer Unit”  It performs whole-number math calculations (subtract, multiply, divide, etc) comparisons (is greater than, is smaller than, etc.) and logical operations (NOT, OR, AND, etc)  The new breed of popular uPs have not one but two almost identical ALU’s that can do calculations simultaneously, doubling the capability
  • 27. Floating-Point Unit (FPU)  Also known as the “Numeric Unit”  It performs calculations that involve numbers represented in the scientific notation (also known as floating-point numbers).  This notation can represent extremely small and extremely large numbers in a compact form  Floating-point calculations are required for doing graphics, engineering and scientific work  The ALU can do these calculations as well, but will do them very slowly
  • 28. Registers  Both ALU & FPU have a very small amount of super-fast private memory placed right next to them for their exclusive use. These are called registers  The ALU & FPU store intermediate and final results from their calculations in these registers  Processed data goes back to the data cache and then to main memory from these registers
  • 29. Control Unit  The brain of the uP  Manages the whole uP  Tasks include fetching instructions & data, storing data, managing input/output devices
  • 30. That was the structure, now let’s talk about the language of a μP
  • 31. Instruction Set  The set of machine instructions that a uP recognizes and can execute – the only language uP knows  An instruction set includes low-level, a single step-at-a- time instructions, such as add, subtract, multiply, and divide  Each uP family has its unique instruction set  Bigger instruction-sets mean more complex chips (higher costs, reduced efficiency), but shorter programs
  • 32. Addressing  8 bit microprocessors have word length of 8 bits.  Integer data from 0 to 255 may be represented directly.  To address memory, usually a longer word is needed.  Most microprocessor have a 12 bit (4k) 14 (16k) or 16 bit (64k) memory address but longer address words are also used.
  • 33. Addressing modes: “The addressing mode indicates where the operands are located.” Format Instruction:
  • 34. 1. Register Addressing Mode: (Instruction gets its source data from a register.) 2. Immediate Addressing Mode: (Immediate data is coded directly in the instruction’s machine code.) 3. Direct Addressing Mode: (The operand is stored in a MEMORY location, usually in the Data Segment.)
  • 35. 4. Register Indirect Addressing Mode: (RegisterIndirect Addressing uses a register instead of a constant (as in d irect addressing) to specify the 16-bit offset address of the operand.). 5. Based Addressing Mode: (The operand is located at the address given by adding an 8- or 16-bit displacement to either BX or BP and combining the result with a segment register.)
  • 36. 6. Indexed Addressing Mode: 7. Based Index Addressing (with displacement) (The base and index registers are added to give the segment offset of where the operand is located.) 8. String Addressing Mode: ( A string is a series of bytes or a series of words in sequential memory locations) 9. Port Addressing Mode
  • 37. Interrupt “Divertingattention of any personor machine (processor) while working” : the external hardware or software means calling the attention of processor is said to be interrupt”  Microprocessor having provision of two interrupt: 1:software or polling interrupt 2: hardware interrupts.
  • 39.
  • 41. Timing Diagrams  HIGH Low (used for understand pin operations) (Used for data transfer) 0 1 inactive active
  • 45.  “To communicate with micro processor interfacing is required “  To implement serial communicati0n in microprocessor system we need basically two devices. 1: Parallel to serial converter. 2. Serial to parallel converter. “To transmit byte data it is necessary to convert byte into serial bits. This can be done by using the parallel to serial converter . Similarly at reception those serial bits must be converted in parallel.”
  • 46. interfacing devices:- USART:8251 A (universal synchronous asynchronous receiver - transmitter): -its a programmable chip designed for synchronous and asynchronous serial data communication. - It is compatible with 8085. it allows full duplex transmission and reception. -it is a in 28 pin DIP.
  • 47. 8255 PPI(Programmable Peripheral Interface) -The INTEL 8255A is a device used to implement parallel data transfer between processor and slow peripheral devices like ADC,DAC, keyboard of segment display etc. - It works on three modes.. - 1: Mode-0  simple I/O port. - 2: Mode-1  Handshake I/O port. - 3: Mode-2  Bidirectional I/O port.
  • 48. DMA controller – INTEL 8257 -The DMA controller has been developed for 8085/8086/8088 microprocessor based systems. - It is a device dedicated to perform a high speed data transfer between memory and I/O device. - 8257 has four channels and so it can be used to provide direct memory access to four I/O devices.
  • 49. Keyboard & display controller-INTEL 8279: - The Intel -8279 is a dedicated controller specially developed for interfacing keyboard and display devices to 8085/ -
  • 50. Interfacing Issues Three basic modes:  1. Continuous dedicated monitoring of the sensor by the microprocessor  2. Polling the sensor  3. Interrupt mode
  • 51. Continuous mode  Microprocessor is dedicated for use with the sensor  Its output is monitored by the microprocessor continuously  The microprocessor reads the sensor’s output at a given rate  Output is then used to act
  • 52. Poling mode  Sensor operates as if the microprocessor did not exist.  Its output is monitored by the microprocessor  The microprocessor reads the sensor’s output at a given rate or intervals – poling  Output is then used to act
  • 53. Interrupt mode  Microprocessor is in sleep mode  Outputs of the sensor are not being processed  Upon a given event, microprocessor wakes up through one of its interrupt options.  The sensor activates the interrupt
  • 54. Note:  Interrupts can be timed  Interrupts can be issued by sources other than the sensor  The microprocessor may be involved in other functions, separate from the sensor, such as control of an actuator  Feedback from actuators may also be used to perform interrupts