SlideShare a Scribd company logo
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 Introduction
Microprocessor Introduction
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.
Microprocessor Introduction
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:
Microprocessor Introduction
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

PPTX
Ec8791 lpc2148
PPTX
Microprocessor Presentation
PPTX
Presentation on 8086 Microprocessor
PPT
Microprocessor ppt
PPTX
Evolution of Microprocessor
PPT
80286 microprocessor
PDF
8051 interfacing
PPTX
PIC-18 Microcontroller
Ec8791 lpc2148
Microprocessor Presentation
Presentation on 8086 Microprocessor
Microprocessor ppt
Evolution of Microprocessor
80286 microprocessor
8051 interfacing
PIC-18 Microcontroller

What's hot (20)

PDF
Introduction to Microcontroller
PPSX
Evolution of microprocessors
PPTX
Addressing modes of 8086 - Binu Joy
PPTX
Introduction to AVR Microcontroller
PPTX
Modes of 80386
PPTX
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT I Core of Embedded Systems
PPTX
Instruction sets of 8086
PPTX
X86 Architecture
PDF
Intel 80486 Microprocessor
PPTX
RISC - Reduced Instruction Set Computing
PDF
8085 microprocessor notes
PPT
8086 micro processor
PPTX
Embedded System
PPTX
Msp 430 architecture module 1
PPT
8086-instruction-set-ppt
PPT
Microcontroller 8051
PPTX
Embedded system design using arduino
PPTX
Salient featurs of 80386
PPTX
Intel Microprocessor
PPTX
Embedded Systems - Training ppt
Introduction to Microcontroller
Evolution of microprocessors
Addressing modes of 8086 - Binu Joy
Introduction to AVR Microcontroller
Modes of 80386
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT I Core of Embedded Systems
Instruction sets of 8086
X86 Architecture
Intel 80486 Microprocessor
RISC - Reduced Instruction Set Computing
8085 microprocessor notes
8086 micro processor
Embedded System
Msp 430 architecture module 1
8086-instruction-set-ppt
Microcontroller 8051
Embedded system design using arduino
Salient featurs of 80386
Intel Microprocessor
Embedded Systems - Training ppt
Ad

Similar to Microprocessor Introduction (20)

PDF
Microprocessor note
DOCX
8085 notes g scheme 2016
PPT
Microprocessor
PPT
Microprocessors
PPTX
Microprocessor rushil microprocessor for computer .pptx
DOCX
8085 notes g scheme 2016
DOCX
8085 notes g scheme 2016 (2)
PPTX
8085 Microprocessor - Ramesh Gaonkar.pdf-27 (1).pptx
PPTX
Microprocessors presentation
PPTX
Microprocessor and assembly language.pptx
PDF
Introduction to Microprocessors
PPTX
microprocessor and microcontroller unit-1.pptx
PPT
Microprocessor Based Systems.ppt
PPT
Micro processor
PPT
Journey of Microprocessors By Basit Ali
PDF
chapter 1-part 1 introduction o microprocessor.pdf
DOCX
8085 notes g scheme
DOCX
8085 notes g scheme
PPT
Microprocessors - 80386DX
PDF
Microprocessor System qwefqwgqwgqwgqwgqegew
Microprocessor note
8085 notes g scheme 2016
Microprocessor
Microprocessors
Microprocessor rushil microprocessor for computer .pptx
8085 notes g scheme 2016
8085 notes g scheme 2016 (2)
8085 Microprocessor - Ramesh Gaonkar.pdf-27 (1).pptx
Microprocessors presentation
Microprocessor and assembly language.pptx
Introduction to Microprocessors
microprocessor and microcontroller unit-1.pptx
Microprocessor Based Systems.ppt
Micro processor
Journey of Microprocessors By Basit Ali
chapter 1-part 1 introduction o microprocessor.pdf
8085 notes g scheme
8085 notes g scheme
Microprocessors - 80386DX
Microprocessor System qwefqwgqwgqwgqwgqegew
Ad

Recently uploaded (20)

PDF
Operating System & Kernel Study Guide-1 - converted.pdf
PPTX
Foundation to blockchain - A guide to Blockchain Tech
PDF
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
PPTX
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
PPTX
Lecture Notes Electrical Wiring System Components
PPTX
web development for engineering and engineering
PPTX
Geodesy 1.pptx...............................................
PPTX
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
PPT
Mechanical Engineering MATERIALS Selection
PDF
Arduino robotics embedded978-1-4302-3184-4.pdf
PPTX
UNIT-1 - COAL BASED THERMAL POWER PLANTS
PPTX
CYBER-CRIMES AND SECURITY A guide to understanding
PPTX
CH1 Production IntroductoryConcepts.pptx
PDF
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
PDF
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
PPTX
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
PDF
composite construction of structures.pdf
PDF
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
PDF
Digital Logic Computer Design lecture notes
PDF
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
Operating System & Kernel Study Guide-1 - converted.pdf
Foundation to blockchain - A guide to Blockchain Tech
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
Lecture Notes Electrical Wiring System Components
web development for engineering and engineering
Geodesy 1.pptx...............................................
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
Mechanical Engineering MATERIALS Selection
Arduino robotics embedded978-1-4302-3184-4.pdf
UNIT-1 - COAL BASED THERMAL POWER PLANTS
CYBER-CRIMES AND SECURITY A guide to understanding
CH1 Production IntroductoryConcepts.pptx
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
composite construction of structures.pdf
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
Digital Logic Computer Design lecture notes
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk

Microprocessor Introduction

  • 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.
  • 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.
  • 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.
  • 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