SlideShare a Scribd company logo
PRINCIPLES OF 8085
MICROPROCESSOR
Dr.S.Barani
School of Electrical and Electronics Engineering
Sathyabama Institute of Science and Technology
Week 1 – Introduction to Microprocessor
ARCHITECTURE OF A MICROPROCESSOR
CENTRAL PROCESSING UNIT CPU
ALU (Arithmetic and Logic Unit)
•Performs Arithmetic and Logical operations
REGISTER UNIT
•Registers are used primarily to store data temporarily during the
execution of a program.
•Few registers are accessible to the uses through instructions
•General Purpose Registers - B, C, D, E, H & L (8 bit registers)
•er)
3
•Can be used singly or can be used as 16 bit register pairs BC, DE,
HL
•H & L can be used as a data pointer (holds memory address)
•Special Purpose Registers Accumulator (8 bit regist
CONTROL UNIT
•Provides necessary timing & control signals necessary to all the
operations
•Controls the flow of data
CENTRAL PROCESSING UNIT CPU Contd...
4
ADDRESS BUS
• It is a group of wires or lines that are used to transfer the
addresses of Memory or I/O devices. It is unidirectional.
• 16 bits.
• Multiplexed with 8 bit data bus.
• Most significant bits (MSB) of address goes through Address bus
(A7-A0)
• LSB goes through multiplexed data bus (AD0-AD7).
ADDRESS BUS
5
Data Bus
• Transfer data within
Microprocessor and
Memory/Input or Output
devices.
• Bidirectional
• 8 Bits long
Control Bus
• Control signals are Read,
Write and Opcode fetch etc.
• Dedicated bus, because all
timing signals are generated
according to control signal.
DATA AND CONTROL BUS
6
REGISTERS
7
8 bit register
shows the status of the
microprocessor
before/after an operation
❑ S (sign flag)
❑ Z (zero flag)
❑ AC (auxillary carry flag)
❑ P (parity flag)
❑ CY (carry flag) D7
FLAG REGISTERS
8
The program counter PC
❑ This is a register that is
used to control the
sequencing of the
execution of instructions.
❑ This register always holds
the address of the next
instruction.
❑ Since it holds an address,
it must be 16 bits wide.
The Stack pointer
The stack pointer is also a 16-
bit register that is used to point
into memory.
Points to is a special area
called the stack.
The stack is an area of
memory used to hold data that
will be retreived soon.
The stack is usually accessed
in a Last In First Out (LIFO)9
INTERRUPTS
10
CLASSIFICATION OF INTERRUPTS
An interrupt is a signal
initiated by an external
device to the
microprocessor. Once this
signal is received, the
microprocessor completes
the execution of the current
instruction and responds to
the interrupt
11
The software interrupts are
program instructions. When the
instruction is executed, the
processor executes an interrupt
service routine stored in the
vector address of the software
interrupt instruction.
The software interrupts are RST 0,
RST 1, RST 2, RST 3, RST 4, RST 5,
RST 6 and RST 7.
SOFTWARE INTERRUPTS OF 8085
12
TRAP
❑ This interrupt is a Non-Maskable interrupt (NMI). It is unaffected
by any mask or interrupt enable.
❑ TRAP is the highest priority and vectored interrupt(as vector
address is fixed i.e. memory location where to transfer control).
❑ TRAP interrupt is edge and level triggered. This means hat the
TRAP must go high and remain high until it is acknowledged.
❑ In sudden power failure, it executes a ISR and send the data
from main memory to backup memory.
HARDWARE INTERRUPTS OF 8085
13
HARDWARE INTERRUPTS OF 8085
RST 7.5
•The RST 7.5 interrupt is a Maskable interrupt.
• It has the second highest priority.
•It is edge sensitive. i.e. Input goes to high and no need to maintain high state
until it recognized.
RST 6.5 & RST 5.5
•The RST 6.5 and RST 5.5 both are level triggered (i.e.) Input goes to high and stay
high until it recognized.
•Maskable interrupt.
•The RST 6.5 has the third priority whereas RST 5.5 has the fourth priority.
INTR 14
15

More Related Content

What's hot

Microprocessor 8085 complete
Microprocessor 8085 completeMicroprocessor 8085 complete
Microprocessor 8085 complete
Shubham Singh
 
8085-microprocessor
8085-microprocessor8085-microprocessor
8085-microprocessor
ATTO RATHORE
 
Architecture and pin diagram of 8085
Architecture and pin diagram of 8085Architecture and pin diagram of 8085
Architecture and pin diagram of 8085
Suchismita Paul
 
8051 Microcontroller
8051 Microcontroller8051 Microcontroller
8051 Microcontroller
Jai Sudhan
 
8085 microprocessor
8085 microprocessor8085 microprocessor
8085 microprocessor
Apar Pramod
 
Microprocessor fundamentals
Microprocessor fundamentalsMicroprocessor fundamentals
Microprocessor fundamentals
JLoknathDora
 
8085-microprocessor
8085-microprocessor8085-microprocessor
8085-microprocessor
jhcid
 
Microprocessor 8085 Basics
Microprocessor 8085 BasicsMicroprocessor 8085 Basics
Microprocessor 8085 Basics
Nilesh Bhaskarrao Bahadure
 
Architecture of 8085 microprocessor
Architecture of 8085 microprocessorArchitecture of 8085 microprocessor
Architecture of 8085 microprocessor
AMAN SRIVASTAVA
 
8051 block diagram
8051 block diagram8051 block diagram
8051 block diagram
DominicHendry
 
Introduction to microprocessor
Introduction to microprocessorIntroduction to microprocessor
Introduction to microprocessor
RamaPrabha24
 
8085 microprocessor
8085 microprocessor8085 microprocessor
8085 microprocessor
Radhika Patel
 
Introduction to 8085 microprocessor
Introduction to 8085 microprocessorIntroduction to 8085 microprocessor
Introduction to 8085 microprocessor
venkateshkannat
 
8085 Microprocessor Architecture
8085 Microprocessor Architecture8085 Microprocessor Architecture
8085 Microprocessor Architecture
deval patel
 
8085 microprocessor ramesh gaonkar
8085 microprocessor   ramesh gaonkar8085 microprocessor   ramesh gaonkar
8085 microprocessor ramesh gaonkar
SAQUIB AHMAD
 
Architecture of computer
Architecture of computerArchitecture of computer
Architecture of computer
Mubashar Islam
 
8085 microprocessor
8085 microprocessor8085 microprocessor
8085 microprocessor
Anuja Gunale
 
Microcontroller 8051
Microcontroller 8051Microcontroller 8051
Microcontroller 8051
guest70d48b1
 
EE8551 MPMC
EE8551  MPMCEE8551  MPMC
EE8551 MPMC
rmkceteee
 

What's hot (20)

Introduction to 8085svv
Introduction to 8085svvIntroduction to 8085svv
Introduction to 8085svv
 
Microprocessor 8085 complete
Microprocessor 8085 completeMicroprocessor 8085 complete
Microprocessor 8085 complete
 
8085-microprocessor
8085-microprocessor8085-microprocessor
8085-microprocessor
 
Architecture and pin diagram of 8085
Architecture and pin diagram of 8085Architecture and pin diagram of 8085
Architecture and pin diagram of 8085
 
8051 Microcontroller
8051 Microcontroller8051 Microcontroller
8051 Microcontroller
 
8085 microprocessor
8085 microprocessor8085 microprocessor
8085 microprocessor
 
Microprocessor fundamentals
Microprocessor fundamentalsMicroprocessor fundamentals
Microprocessor fundamentals
 
8085-microprocessor
8085-microprocessor8085-microprocessor
8085-microprocessor
 
Microprocessor 8085 Basics
Microprocessor 8085 BasicsMicroprocessor 8085 Basics
Microprocessor 8085 Basics
 
Architecture of 8085 microprocessor
Architecture of 8085 microprocessorArchitecture of 8085 microprocessor
Architecture of 8085 microprocessor
 
8051 block diagram
8051 block diagram8051 block diagram
8051 block diagram
 
Introduction to microprocessor
Introduction to microprocessorIntroduction to microprocessor
Introduction to microprocessor
 
8085 microprocessor
8085 microprocessor8085 microprocessor
8085 microprocessor
 
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
 
8085 microprocessor ramesh gaonkar
8085 microprocessor   ramesh gaonkar8085 microprocessor   ramesh gaonkar
8085 microprocessor ramesh gaonkar
 
Architecture of computer
Architecture of computerArchitecture of computer
Architecture of computer
 
8085 microprocessor
8085 microprocessor8085 microprocessor
8085 microprocessor
 
Microcontroller 8051
Microcontroller 8051Microcontroller 8051
Microcontroller 8051
 
EE8551 MPMC
EE8551  MPMCEE8551  MPMC
EE8551 MPMC
 

Similar to Week 1.3 architecture

MP_MC.pdf
MP_MC.pdfMP_MC.pdf
MP_MC.pdf
KRamasamy2
 
UNIT 1 Microprocessors.pptx
UNIT 1 Microprocessors.pptxUNIT 1 Microprocessors.pptx
UNIT 1 Microprocessors.pptx
Gowrishankar C
 
MPMC
MPMC MPMC
8085 microprocessor
8085 microprocessor8085 microprocessor
8085 microprocessor
GurleenKaur408
 
8085 microprocessor
8085 microprocessor8085 microprocessor
8085 microprocessorIama Marsian
 
8085 pin configuration
8085 pin configuration8085 pin configuration
8085 pin configuration
HazimRajput
 
UNIT 4 8051Microcontroller.pptx
UNIT 4 8051Microcontroller.pptxUNIT 4 8051Microcontroller.pptx
UNIT 4 8051Microcontroller.pptx
Gowrishankar C
 
Unit 2 - Microprocessor & Microcontroller.pptx
Unit 2 -  Microprocessor & Microcontroller.pptxUnit 2 -  Microprocessor & Microcontroller.pptx
Unit 2 - Microprocessor & Microcontroller.pptx
Charunnath S V
 
UNIT 2.pptx
UNIT 2.pptxUNIT 2.pptx
UNIT 2.pptx
BASKARS53
 
Introduction to 8085 Microprocessor
Introduction to 8085 MicroprocessorIntroduction to 8085 Microprocessor
Introduction to 8085 Microprocessor
Ravi Anand
 
8085_LAB_PROGRAMS.pdf
8085_LAB_PROGRAMS.pdf8085_LAB_PROGRAMS.pdf
8085_LAB_PROGRAMS.pdf
Koteswari Kasireddy
 
itft-8085 microprocessor
itft-8085 microprocessoritft-8085 microprocessor
itft-8085 microprocessorShifali Sharma
 
Architecture of 8085
Architecture of 8085Architecture of 8085
Architecture of 8085
HarshitParkar6677
 
Architecture of 8085
Architecture of 8085Architecture of 8085
Architecture of 8085
HarshitParkar6677
 
Microprocessors and microcontrollers
Microprocessors and microcontrollersMicroprocessors and microcontrollers
Microprocessors and microcontrollers
gomathy S
 
UNIT 4.pptx
UNIT 4.pptxUNIT 4.pptx
UNIT 4.pptx
BASKARS53
 
B sc e5.2 mp unit 3 interfacing
B sc e5.2 mp unit 3 interfacingB sc e5.2 mp unit 3 interfacing
B sc e5.2 mp unit 3 interfacing
MahiboobAliMulla
 

Similar to Week 1.3 architecture (20)

MP_MC.pdf
MP_MC.pdfMP_MC.pdf
MP_MC.pdf
 
12 mt06ped001
12 mt06ped001 12 mt06ped001
12 mt06ped001
 
Topic 1
Topic 1Topic 1
Topic 1
 
UNIT 1 Microprocessors.pptx
UNIT 1 Microprocessors.pptxUNIT 1 Microprocessors.pptx
UNIT 1 Microprocessors.pptx
 
MPMC
MPMC MPMC
MPMC
 
8085 microprocessor
8085 microprocessor8085 microprocessor
8085 microprocessor
 
8085 microprocessor
8085 microprocessor8085 microprocessor
8085 microprocessor
 
8085 pin configuration
8085 pin configuration8085 pin configuration
8085 pin configuration
 
UNIT 4 8051Microcontroller.pptx
UNIT 4 8051Microcontroller.pptxUNIT 4 8051Microcontroller.pptx
UNIT 4 8051Microcontroller.pptx
 
Unit 2 - Microprocessor & Microcontroller.pptx
Unit 2 -  Microprocessor & Microcontroller.pptxUnit 2 -  Microprocessor & Microcontroller.pptx
Unit 2 - Microprocessor & Microcontroller.pptx
 
UNIT 2.pptx
UNIT 2.pptxUNIT 2.pptx
UNIT 2.pptx
 
Introduction to 8085 Microprocessor
Introduction to 8085 MicroprocessorIntroduction to 8085 Microprocessor
Introduction to 8085 Microprocessor
 
8085_LAB_PROGRAMS.pdf
8085_LAB_PROGRAMS.pdf8085_LAB_PROGRAMS.pdf
8085_LAB_PROGRAMS.pdf
 
itft-8085 microprocessor
itft-8085 microprocessoritft-8085 microprocessor
itft-8085 microprocessor
 
Architecture of 8085
Architecture of 8085Architecture of 8085
Architecture of 8085
 
Architecture of 8085
Architecture of 8085Architecture of 8085
Architecture of 8085
 
Unit 2.ppt
Unit 2.pptUnit 2.ppt
Unit 2.ppt
 
Microprocessors and microcontrollers
Microprocessors and microcontrollersMicroprocessors and microcontrollers
Microprocessors and microcontrollers
 
UNIT 4.pptx
UNIT 4.pptxUNIT 4.pptx
UNIT 4.pptx
 
B sc e5.2 mp unit 3 interfacing
B sc e5.2 mp unit 3 interfacingB sc e5.2 mp unit 3 interfacing
B sc e5.2 mp unit 3 interfacing
 

Recently uploaded

H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
H.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdfH.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdf
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
MLILAB
 
Forklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella PartsForklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella Parts
Intella Parts
 
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang,  ICLR 2024, MLILAB, KAIST AI.pdfJ.Yang,  ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
MLILAB
 
DESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docxDESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docx
FluxPrime1
 
Halogenation process of chemical process industries
Halogenation process of chemical process industriesHalogenation process of chemical process industries
Halogenation process of chemical process industries
MuhammadTufail242431
 
The role of big data in decision making.
The role of big data in decision making.The role of big data in decision making.
The role of big data in decision making.
ankuprajapati0525
 
ASME IX(9) 2007 Full Version .pdf
ASME IX(9)  2007 Full Version       .pdfASME IX(9)  2007 Full Version       .pdf
ASME IX(9) 2007 Full Version .pdf
AhmedHussein950959
 
CME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional ElectiveCME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional Elective
karthi keyan
 
Gen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdfGen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdf
gdsczhcet
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
bakpo1
 
Architectural Portfolio Sean Lockwood
Architectural Portfolio Sean LockwoodArchitectural Portfolio Sean Lockwood
Architectural Portfolio Sean Lockwood
seandesed
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
SamSarthak3
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
JoytuBarua2
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Sreedhar Chowdam
 
road safety engineering r s e unit 3.pdf
road safety engineering  r s e unit 3.pdfroad safety engineering  r s e unit 3.pdf
road safety engineering r s e unit 3.pdf
VENKATESHvenky89705
 
LIGA(E)11111111111111111111111111111111111111111.ppt
LIGA(E)11111111111111111111111111111111111111111.pptLIGA(E)11111111111111111111111111111111111111111.ppt
LIGA(E)11111111111111111111111111111111111111111.ppt
ssuser9bd3ba
 
Cosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdfCosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdf
Kamal Acharya
 
Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024
Massimo Talia
 
Vaccine management system project report documentation..pdf
Vaccine management system project report documentation..pdfVaccine management system project report documentation..pdf
Vaccine management system project report documentation..pdf
Kamal Acharya
 
Courier management system project report.pdf
Courier management system project report.pdfCourier management system project report.pdf
Courier management system project report.pdf
Kamal Acharya
 

Recently uploaded (20)

H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
H.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdfH.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdf
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
 
Forklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella PartsForklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella Parts
 
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang,  ICLR 2024, MLILAB, KAIST AI.pdfJ.Yang,  ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
 
DESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docxDESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docx
 
Halogenation process of chemical process industries
Halogenation process of chemical process industriesHalogenation process of chemical process industries
Halogenation process of chemical process industries
 
The role of big data in decision making.
The role of big data in decision making.The role of big data in decision making.
The role of big data in decision making.
 
ASME IX(9) 2007 Full Version .pdf
ASME IX(9)  2007 Full Version       .pdfASME IX(9)  2007 Full Version       .pdf
ASME IX(9) 2007 Full Version .pdf
 
CME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional ElectiveCME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional Elective
 
Gen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdfGen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdf
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
 
Architectural Portfolio Sean Lockwood
Architectural Portfolio Sean LockwoodArchitectural Portfolio Sean Lockwood
Architectural Portfolio Sean Lockwood
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
 
road safety engineering r s e unit 3.pdf
road safety engineering  r s e unit 3.pdfroad safety engineering  r s e unit 3.pdf
road safety engineering r s e unit 3.pdf
 
LIGA(E)11111111111111111111111111111111111111111.ppt
LIGA(E)11111111111111111111111111111111111111111.pptLIGA(E)11111111111111111111111111111111111111111.ppt
LIGA(E)11111111111111111111111111111111111111111.ppt
 
Cosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdfCosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdf
 
Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024
 
Vaccine management system project report documentation..pdf
Vaccine management system project report documentation..pdfVaccine management system project report documentation..pdf
Vaccine management system project report documentation..pdf
 
Courier management system project report.pdf
Courier management system project report.pdfCourier management system project report.pdf
Courier management system project report.pdf
 

Week 1.3 architecture

  • 1. PRINCIPLES OF 8085 MICROPROCESSOR Dr.S.Barani School of Electrical and Electronics Engineering Sathyabama Institute of Science and Technology Week 1 – Introduction to Microprocessor
  • 2. ARCHITECTURE OF A MICROPROCESSOR
  • 3. CENTRAL PROCESSING UNIT CPU ALU (Arithmetic and Logic Unit) •Performs Arithmetic and Logical operations REGISTER UNIT •Registers are used primarily to store data temporarily during the execution of a program. •Few registers are accessible to the uses through instructions •General Purpose Registers - B, C, D, E, H & L (8 bit registers) •er) 3
  • 4. •Can be used singly or can be used as 16 bit register pairs BC, DE, HL •H & L can be used as a data pointer (holds memory address) •Special Purpose Registers Accumulator (8 bit regist CONTROL UNIT •Provides necessary timing & control signals necessary to all the operations •Controls the flow of data CENTRAL PROCESSING UNIT CPU Contd... 4
  • 5. ADDRESS BUS • It is a group of wires or lines that are used to transfer the addresses of Memory or I/O devices. It is unidirectional. • 16 bits. • Multiplexed with 8 bit data bus. • Most significant bits (MSB) of address goes through Address bus (A7-A0) • LSB goes through multiplexed data bus (AD0-AD7). ADDRESS BUS 5
  • 6. Data Bus • Transfer data within Microprocessor and Memory/Input or Output devices. • Bidirectional • 8 Bits long Control Bus • Control signals are Read, Write and Opcode fetch etc. • Dedicated bus, because all timing signals are generated according to control signal. DATA AND CONTROL BUS 6
  • 8. 8 bit register shows the status of the microprocessor before/after an operation ❑ S (sign flag) ❑ Z (zero flag) ❑ AC (auxillary carry flag) ❑ P (parity flag) ❑ CY (carry flag) D7 FLAG REGISTERS 8
  • 9. The program counter PC ❑ This is a register that is used to control the sequencing of the execution of instructions. ❑ This register always holds the address of the next instruction. ❑ Since it holds an address, it must be 16 bits wide. The Stack pointer The stack pointer is also a 16- bit register that is used to point into memory. Points to is a special area called the stack. The stack is an area of memory used to hold data that will be retreived soon. The stack is usually accessed in a Last In First Out (LIFO)9
  • 11. CLASSIFICATION OF INTERRUPTS An interrupt is a signal initiated by an external device to the microprocessor. Once this signal is received, the microprocessor completes the execution of the current instruction and responds to the interrupt 11
  • 12. The software interrupts are program instructions. When the instruction is executed, the processor executes an interrupt service routine stored in the vector address of the software interrupt instruction. The software interrupts are RST 0, RST 1, RST 2, RST 3, RST 4, RST 5, RST 6 and RST 7. SOFTWARE INTERRUPTS OF 8085 12
  • 13. TRAP ❑ This interrupt is a Non-Maskable interrupt (NMI). It is unaffected by any mask or interrupt enable. ❑ TRAP is the highest priority and vectored interrupt(as vector address is fixed i.e. memory location where to transfer control). ❑ TRAP interrupt is edge and level triggered. This means hat the TRAP must go high and remain high until it is acknowledged. ❑ In sudden power failure, it executes a ISR and send the data from main memory to backup memory. HARDWARE INTERRUPTS OF 8085 13
  • 14. HARDWARE INTERRUPTS OF 8085 RST 7.5 •The RST 7.5 interrupt is a Maskable interrupt. • It has the second highest priority. •It is edge sensitive. i.e. Input goes to high and no need to maintain high state until it recognized. RST 6.5 & RST 5.5 •The RST 6.5 and RST 5.5 both are level triggered (i.e.) Input goes to high and stay high until it recognized. •Maskable interrupt. •The RST 6.5 has the third priority whereas RST 5.5 has the fourth priority. INTR 14
  • 15. 15