SlideShare a Scribd company logo
1 of 15
University of Diyala
College of Engineering
Communication Department

MICROPROCESSOR
MICROPROCESSOR
The microprocessor can be programmed to
perform functions on given data by writing specific
instructions into its memory.
The microprocessor reads one instruction at a
time, matches it with its instruction set, and
performs the data manipulation specified.
The result is either stored back into memory or
displayed on an output device.
• The 8085 uses three separate
busses to perform its
operations
–The address bus.
–The data bus.
–The control bus.
THE ADDRESS BUS
– 16 bits wide (A0 A1…A15)
• Therefore, the 8085 can access locations with numbers from
0 to 65,536. Or, the 8085 can access a total of 64K
addresses.

– “Unidirectional”.
• Information flows out of the microprocessor and into the
memory or peripherals.

– When the 8085 wants to access a peripheral or a
memory location, it places the 16-bit address on the
address bus and then sends the appropriate control
signals.
THE DATA BUS
– 8 bits wide (D0 D1…D7)
– “Bi-directional”.
• Information flows both ways between the
microprocessor and memory or I/O.
– The 8085 uses the data bus to transfer the binary
information.
– Since the data bus has 8-bits only, then the 8085
can manipulate data 8 bits at-a-time only.
THE CONTROL BUS
–There is no real control bus.
Instead, the control bus is made
up of a number of single bit
control signals.
THE CONTROL AND STATUS SIGNALS
• There are 4 main control and status signals. These are:
• ALE: Address Latch Enable. This signal is a pulse that
become 1 when the AD0 – AD7 lines have an address on
them. It becomes 0 after that. This signal can be used to
enable a latch to save the address bits from the AD lines.
• RD: Read. Active low.
• WR: Write. Active low.
• IO/M: This signal specifies whether the operation is a
memory operation (IO/M=0) or an I/O operation (IO/M=1).
• S1 and S0 : Status signals to specify the kind of operation
being performed .Usually un-used in small systems.
FREQUENCY CONTROL SIGNALS
• There are 3 important pins in the frequency control group.
– X0 and X1 are the inputs from the crystal or clock generating
circuit.
• The frequency is internally divided by 2.
– So, to run the microprocessor at 3 MHz, a clock running at 6
MHz should be connected to the X0 and X1 pins.

– CLK (OUT): An output clock pin to drive the clock of the rest of
the system.
• We will discuss the rest of the control signals as we get to them.
ARITHMETIC LOGIC UNIT (ALU)
•
•
•
•
•
•

Addition
Subtraction
Multiplication
Division
Comparison
Logic Operations

OPERAND A

RESULT

OPERAND B
CONTROL
PIPELINING – FETCH STAGE
• Get Instruction From Memory
• Store In Instruction Register

FETCH

Instruction #1

DECODE

EXECUTE
PIPELINING – DECODE STAGE
• Determine Instruction Type
• Get Necessary Data
• Setup ALU
FETCH

DECODE

Instruction #2

Instruction #1

EXECUTE
PIPELINING – EXECUTE STAGE
• Perform Required Operation
• Store Result In Result Register

FETCH

DECODE

EXECUTE

Instruction #3

Instruction #2

Instruction #1
MEMORY
• Stores Data and
Instructions
• Communicates With
Microprocessor
– System Bus

SYSTEM BUS

MEMORY CHIPS

MICROPROCESSOR
RANDOM-ACCESS MEMORY (RAM
• “Scratch Pad”
• Stores Data and Programs
During Execution
• Only Retains Data While
Powered On
READ-ONLY MEMORY (ROM)
• “Instruction Manual”
• Data Doesn’t Change

• Used When System Starts

More Related Content

What's hot

I/O port programming in 8051
I/O port programming in 8051I/O port programming in 8051
I/O port programming in 8051ssuser3a47cb
 
Memory banking-of-8086-final
Memory banking-of-8086-finalMemory banking-of-8086-final
Memory banking-of-8086-finalEstiak Khan
 
Memory & I/O interfacing
Memory & I/O  interfacingMemory & I/O  interfacing
Memory & I/O interfacingdeval patel
 
8085 microproceesor ppt
8085 microproceesor ppt8085 microproceesor ppt
8085 microproceesor pptRJ Aniket
 
Microprocessor Presentation
Microprocessor PresentationMicroprocessor Presentation
Microprocessor Presentationalaminmasum1
 
Pic microcontroller architecture
Pic microcontroller architecturePic microcontroller architecture
Pic microcontroller architectureDominicHendry
 
Presentation on 8086 Microprocessor
Presentation  on   8086 MicroprocessorPresentation  on   8086 Microprocessor
Presentation on 8086 MicroprocessorNahian Ahmed
 
8086 pin details
8086 pin details8086 pin details
8086 pin detailsAJAL A J
 
ATmega32-AVR microcontrollers-Part I
ATmega32-AVR microcontrollers-Part IATmega32-AVR microcontrollers-Part I
ATmega32-AVR microcontrollers-Part IVineethMP2
 
8051 Timers / Counters
8051 Timers / Counters8051 Timers / Counters
8051 Timers / CountersPatricio Lima
 
Introduction to 8085 Microprocessor
Introduction to 8085 MicroprocessorIntroduction to 8085 Microprocessor
Introduction to 8085 MicroprocessorRavi Anand
 
8085 microprocessor architecture
8085 microprocessor architecture8085 microprocessor architecture
8085 microprocessor architectureArashdeepkaur16
 
Microprocessor Fundamentals
Microprocessor FundamentalsMicroprocessor Fundamentals
Microprocessor FundamentalsDiwaker Pant
 
PIC MICROCONTROLLERS -CLASS NOTES
PIC MICROCONTROLLERS -CLASS NOTESPIC MICROCONTROLLERS -CLASS NOTES
PIC MICROCONTROLLERS -CLASS NOTESDr.YNM
 

What's hot (20)

8155 GPPI
8155 GPPI8155 GPPI
8155 GPPI
 
I/O port programming in 8051
I/O port programming in 8051I/O port programming in 8051
I/O port programming in 8051
 
Memory banking-of-8086-final
Memory banking-of-8086-finalMemory banking-of-8086-final
Memory banking-of-8086-final
 
8051 interrupts
8051 interrupts8051 interrupts
8051 interrupts
 
Memory & I/O interfacing
Memory & I/O  interfacingMemory & I/O  interfacing
Memory & I/O interfacing
 
8085 microproceesor ppt
8085 microproceesor ppt8085 microproceesor ppt
8085 microproceesor ppt
 
Microprocessor Presentation
Microprocessor PresentationMicroprocessor Presentation
Microprocessor Presentation
 
Pic microcontroller architecture
Pic microcontroller architecturePic microcontroller architecture
Pic microcontroller architecture
 
Presentation on 8086 Microprocessor
Presentation  on   8086 MicroprocessorPresentation  on   8086 Microprocessor
Presentation on 8086 Microprocessor
 
Interfacing Stepper motor with 8051
Interfacing Stepper motor with 8051Interfacing Stepper motor with 8051
Interfacing Stepper motor with 8051
 
8086 pin details
8086 pin details8086 pin details
8086 pin details
 
80486 and pentium
80486 and pentium80486 and pentium
80486 and pentium
 
ATmega32-AVR microcontrollers-Part I
ATmega32-AVR microcontrollers-Part IATmega32-AVR microcontrollers-Part I
ATmega32-AVR microcontrollers-Part I
 
8251 USART
8251 USART8251 USART
8251 USART
 
8051 Timers / Counters
8051 Timers / Counters8051 Timers / Counters
8051 Timers / Counters
 
Introduction to 8085 Microprocessor
Introduction to 8085 MicroprocessorIntroduction to 8085 Microprocessor
Introduction to 8085 Microprocessor
 
8085 microprocessor architecture
8085 microprocessor architecture8085 microprocessor architecture
8085 microprocessor architecture
 
Microprocessor Fundamentals
Microprocessor FundamentalsMicroprocessor Fundamentals
Microprocessor Fundamentals
 
PIC MICROCONTROLLERS -CLASS NOTES
PIC MICROCONTROLLERS -CLASS NOTESPIC MICROCONTROLLERS -CLASS NOTES
PIC MICROCONTROLLERS -CLASS NOTES
 
Pin diagram 8085
Pin diagram 8085 Pin diagram 8085
Pin diagram 8085
 

Similar to Introduction to Microprocessor

Microprocessor and Microcontroller.pdf
Microprocessor and Microcontroller.pdfMicroprocessor and Microcontroller.pdf
Microprocessor and Microcontroller.pdfLatif Khan
 
EEE- BEE603 - Microprocessor and Microcontroller- Mr K Dwarakesh_220819_18121...
EEE- BEE603 - Microprocessor and Microcontroller- Mr K Dwarakesh_220819_18121...EEE- BEE603 - Microprocessor and Microcontroller- Mr K Dwarakesh_220819_18121...
EEE- BEE603 - Microprocessor and Microcontroller- Mr K Dwarakesh_220819_18121...NaWinNK
 
Unit 2 - Microprocessor & Microcontroller.pptx
Unit 2 -  Microprocessor & Microcontroller.pptxUnit 2 -  Microprocessor & Microcontroller.pptx
Unit 2 - Microprocessor & Microcontroller.pptxCharunnath S V
 
Application of 8086 and 8085 Microprocessor in Robots.pptx
Application of 8086 and 8085 Microprocessor in Robots.pptxApplication of 8086 and 8085 Microprocessor in Robots.pptx
Application of 8086 and 8085 Microprocessor in Robots.pptxssuser631ea0
 
8085 Architecture
8085 Architecture8085 Architecture
8085 Architecturetsajuraj
 
3. MCA-203 (Architecture pin configuration).pptx
3. MCA-203 (Architecture  pin configuration).pptx3. MCA-203 (Architecture  pin configuration).pptx
3. MCA-203 (Architecture pin configuration).pptxAnsal Valappil
 
Microprocessor Basics 8085 Ch-1
Microprocessor Basics 8085 Ch-1Microprocessor Basics 8085 Ch-1
Microprocessor Basics 8085 Ch-1Neelam Kapoor
 
UNIT 1 Microprocessors.pptx
UNIT 1 Microprocessors.pptxUNIT 1 Microprocessors.pptx
UNIT 1 Microprocessors.pptxGowrishankar C
 
MICROPROCESSOR AND INTERFACING
MICROPROCESSOR AND INTERFACING MICROPROCESSOR AND INTERFACING
MICROPROCESSOR AND INTERFACING Radhika Talaviya
 
Microprocessor and Microcontroller lec5
Microprocessor and Microcontroller lec5Microprocessor and Microcontroller lec5
Microprocessor and Microcontroller lec5Ameen San
 

Similar to Introduction to Microprocessor (20)

architect.ppt
architect.pptarchitect.ppt
architect.ppt
 
Microprocessor and Microcontroller.pdf
Microprocessor and Microcontroller.pdfMicroprocessor and Microcontroller.pdf
Microprocessor and Microcontroller.pdf
 
EEE- BEE603 - Microprocessor and Microcontroller- Mr K Dwarakesh_220819_18121...
EEE- BEE603 - Microprocessor and Microcontroller- Mr K Dwarakesh_220819_18121...EEE- BEE603 - Microprocessor and Microcontroller- Mr K Dwarakesh_220819_18121...
EEE- BEE603 - Microprocessor and Microcontroller- Mr K Dwarakesh_220819_18121...
 
Unit 2 - Microprocessor & Microcontroller.pptx
Unit 2 -  Microprocessor & Microcontroller.pptxUnit 2 -  Microprocessor & Microcontroller.pptx
Unit 2 - Microprocessor & Microcontroller.pptx
 
8085 microprocessor
8085 microprocessor8085 microprocessor
8085 microprocessor
 
12 mt06ped001
12 mt06ped001 12 mt06ped001
12 mt06ped001
 
Mechatronics ME8791
Mechatronics ME8791 Mechatronics ME8791
Mechatronics ME8791
 
Application of 8086 and 8085 Microprocessor in Robots.pptx
Application of 8086 and 8085 Microprocessor in Robots.pptxApplication of 8086 and 8085 Microprocessor in Robots.pptx
Application of 8086 and 8085 Microprocessor in Robots.pptx
 
8085
80858085
8085
 
8085 Architecture
8085 Architecture8085 Architecture
8085 Architecture
 
PPT-1.pptx
PPT-1.pptxPPT-1.pptx
PPT-1.pptx
 
PPT-1.pptx
PPT-1.pptxPPT-1.pptx
PPT-1.pptx
 
3. MCA-203 (Architecture pin configuration).pptx
3. MCA-203 (Architecture  pin configuration).pptx3. MCA-203 (Architecture  pin configuration).pptx
3. MCA-203 (Architecture pin configuration).pptx
 
8085 (1)
8085 (1)8085 (1)
8085 (1)
 
Microprocessor Basics 8085 Ch-1
Microprocessor Basics 8085 Ch-1Microprocessor Basics 8085 Ch-1
Microprocessor Basics 8085 Ch-1
 
UNIT 1 Microprocessors.pptx
UNIT 1 Microprocessors.pptxUNIT 1 Microprocessors.pptx
UNIT 1 Microprocessors.pptx
 
Micro
MicroMicro
Micro
 
MICROPROCESSOR AND INTERFACING
MICROPROCESSOR AND INTERFACING MICROPROCESSOR AND INTERFACING
MICROPROCESSOR AND INTERFACING
 
Microprocessor and Microcontroller lec5
Microprocessor and Microcontroller lec5Microprocessor and Microcontroller lec5
Microprocessor and Microcontroller lec5
 
MPMC
MPMC MPMC
MPMC
 

Introduction to Microprocessor

  • 1. University of Diyala College of Engineering Communication Department MICROPROCESSOR
  • 2. MICROPROCESSOR The microprocessor can be programmed to perform functions on given data by writing specific instructions into its memory. The microprocessor reads one instruction at a time, matches it with its instruction set, and performs the data manipulation specified. The result is either stored back into memory or displayed on an output device.
  • 3. • The 8085 uses three separate busses to perform its operations –The address bus. –The data bus. –The control bus.
  • 4. THE ADDRESS BUS – 16 bits wide (A0 A1…A15) • Therefore, the 8085 can access locations with numbers from 0 to 65,536. Or, the 8085 can access a total of 64K addresses. – “Unidirectional”. • Information flows out of the microprocessor and into the memory or peripherals. – When the 8085 wants to access a peripheral or a memory location, it places the 16-bit address on the address bus and then sends the appropriate control signals.
  • 5. THE DATA BUS – 8 bits wide (D0 D1…D7) – “Bi-directional”. • Information flows both ways between the microprocessor and memory or I/O. – The 8085 uses the data bus to transfer the binary information. – Since the data bus has 8-bits only, then the 8085 can manipulate data 8 bits at-a-time only.
  • 6. THE CONTROL BUS –There is no real control bus. Instead, the control bus is made up of a number of single bit control signals.
  • 7. THE CONTROL AND STATUS SIGNALS • There are 4 main control and status signals. These are: • ALE: Address Latch Enable. This signal is a pulse that become 1 when the AD0 – AD7 lines have an address on them. It becomes 0 after that. This signal can be used to enable a latch to save the address bits from the AD lines. • RD: Read. Active low. • WR: Write. Active low. • IO/M: This signal specifies whether the operation is a memory operation (IO/M=0) or an I/O operation (IO/M=1). • S1 and S0 : Status signals to specify the kind of operation being performed .Usually un-used in small systems.
  • 8. FREQUENCY CONTROL SIGNALS • There are 3 important pins in the frequency control group. – X0 and X1 are the inputs from the crystal or clock generating circuit. • The frequency is internally divided by 2. – So, to run the microprocessor at 3 MHz, a clock running at 6 MHz should be connected to the X0 and X1 pins. – CLK (OUT): An output clock pin to drive the clock of the rest of the system. • We will discuss the rest of the control signals as we get to them.
  • 9. ARITHMETIC LOGIC UNIT (ALU) • • • • • • Addition Subtraction Multiplication Division Comparison Logic Operations OPERAND A RESULT OPERAND B CONTROL
  • 10. PIPELINING – FETCH STAGE • Get Instruction From Memory • Store In Instruction Register FETCH Instruction #1 DECODE EXECUTE
  • 11. PIPELINING – DECODE STAGE • Determine Instruction Type • Get Necessary Data • Setup ALU FETCH DECODE Instruction #2 Instruction #1 EXECUTE
  • 12. PIPELINING – EXECUTE STAGE • Perform Required Operation • Store Result In Result Register FETCH DECODE EXECUTE Instruction #3 Instruction #2 Instruction #1
  • 13. MEMORY • Stores Data and Instructions • Communicates With Microprocessor – System Bus SYSTEM BUS MEMORY CHIPS MICROPROCESSOR
  • 14. RANDOM-ACCESS MEMORY (RAM • “Scratch Pad” • Stores Data and Programs During Execution • Only Retains Data While Powered On
  • 15. READ-ONLY MEMORY (ROM) • “Instruction Manual” • Data Doesn’t Change • Used When System Starts