SlideShare a Scribd company logo
Computer organization & architecture
Interrupt signals and working(8085
or 8086)
 What is a microprocessor?
 What are its functions?
 How was it invented?
 Read on to know about one of the greatest
wonder of electronics.
 A microprocessor is an electronic component
that is used by a computer to do its work. It
is a central processing unit on a single
integrated circuit chip containing millions of
very small components.
 Everything a computer does is described by
lots of precise instructions, and
microprocessors carry out these instructions
at incredible speed—many millions of times a
second.
 Single board micro computers
 Personal Computers
 Communication
 Instrumentation
 Control
 Office Automation and Publication
 Among others.
 The world's first microprocessor, the 4004,
was co-developed by Busicom, a Japanese
manufacturer of calculators, and Intel, a U.S.
manufacturer of semiconductors
 Intel 4004 (4 bit microprocessor and it was not a
powerful microprocessor)
 Intel 8080 (was the first microprocessor to make
it to Home computers, It was introduced during
the year 1974 and it could perform 8 bit
operations)
 Intel 8085 (Came out in the year 1976, it was an
update of 8080 processors.
 Intel 8086 (Came out during the year 1976. The
major difference between 8085 and 8086
processor is that 8085 is an 8 bit processor, but
8086 processor is a 16 bit processor.
 Intel 8087
 Intel 8088 processor ( It was the first to be
incorporated into IBM personal computers)
 As the years progressed lots of processors
from 8088,80286,80386,80486,Pentium II,
Pentium III, Pentium IV and now
Core2Duo,Dual Core and Quad core
processors are the latest in the market.
 Apart from Intel, there are some other
manufacturers who produce Microprocessor
chips. Such manufacturers are called second
source manufacturers.
 The second source manufacturers include:
 AMD
 Mitsubishi
 NEC
 OKI
 Toshiba
 Siemens
 In year 1976, Intel introduced the 8085
microprocessor.
 the 8085 microprocessor is an update of 8080
processors.
 8080 processors are updated by adding two
Enable/Disable Instructions, Three added
interrupt pins and serial I/O pin
 Intel introduced 8086 pins during the year 1976.
The major difference between 8085 and 8086
processor is that 8085 is an 8 bit processor, but
8086 processor is a 16 bit processor.
An interrupt is a signal or condition
that causes the executing program to
stop, save its state, and do a function
call to service the signal or condition.
 Once the servicing is complete, the service
routine does a return from interrupt sequence,
effectively a return from function call, that
allows the processor to continue doing what it
was doing before the interrupt.
 Maskable interrupts.
 non-maskable interrupts.
 Difference between maskable and non-maskable
interrupt?
 the interrupt which can be ignored by the
processor ,while performing its operations are
called maskable interrupts
 Non-maskable interrupts do not get gated by the
interrupt control register -- they ALWAYS
interrupt, no matter what state your processor is
in. Typically these are used for CRITICIAL or
FATAL conditions, or for system reset functions.
If your system gets stuck in an infinite loop with
interrupts disabled, the NMI is your last hope to
reset the system.
 Software interrupts.
 Hardware interrupts.
 Interrupt generated by executing an
instruction is called software interrupt. It's
also called 'trap'. Software interrupts are
generally used to make system calls i.e. to
request operating system to perform an I/O
operation or to run a new program.
 Examples:
C++:
A cout or cin statement would generate a
software interrupt because it would make a
system call to print something.
 A fork() statement in Linux would generate a
software interrupt because it would make a
system call to create a new process.
 Assembly IA32:
The instruction int 21h would generate a
software interrupt which would request
something from operating system (depending on
the register values).
 Hardware interrupts are generated by
hardware devices when something unusual
happens; this could be a keypress or a mouse
move or any other action.
 • People like connecting devices
 • A computer is much more than the CPU
 • Keyboard, mouse, screen, disk drives
 • Scanner, printer, sound card, camera, etc.
 • These devices occasionally need CPU service
 • But we can’t predict when
 • External events typically occur on a
macroscopic
 timescale
 • we want to keep the CPU busy between events
 FNeed a way for CPU to find out devices need
 attention
They are
 TRAP
 RST 7.5
 RST6.5
 RST5.5
 INTR
 INTA
 A software interrupts is a particular instructions
that can be inserted into the desired location in
the rpogram. There are eight Software interrupts
in 8085 Microprocessor. From RST0 to RST7.
 RST0
 RST1
 RST2
 RST3
 RST4
 RST5
 RST6
 RST7
 They allow the microprocessor to transfer
program control from the main program to
the subroutine program. After completing the
subroutine program, the program control
returns back to the main program.
 TRAP:-It is non maskable edge and level
triggered interrupt. TRAP has the
highest priority and vectores interrupt. Edge
and level triggered means that the TRAP must
go high and remain high until it is
acknowledged. In case of sudden power
failure, it executes a ISR and send the data
from main memory to backup memory.
 RST7.5:-It has the second highest priority. It
is maskable and edge level triggered
interrupt. The vector address of this interrupt
is 003CH. Edge sensitive means input goes
high and no need to maintain high state until
it is recognized.
 RST6.5 and RST5.5:-These are level triggered
and maskable interrupts.
 .INTR:-It is level triggered and maskable
interrupt. It has the lowest priority. It can be
disabled by reseting the microprocessor or by
DI and SIM instruction.
 We can calculate the vector address of these
interrupts using the formula given below:

 Vector Address = Interrupt
Number * 8
 So we can find simply vector address. For Example:


RST2: vector address=2*8 = 16
 RST1: vector address=1*8 = 08
 RST3: vector address=3*8 = 24
Coa INTERUPT
Coa INTERUPT
Coa INTERUPT

More Related Content

What's hot

Chapter 02 instructions language of the computer
Chapter 02   instructions language of the computerChapter 02   instructions language of the computer
Chapter 02 instructions language of the computer
Bảo Hoang
 
Computer organization & architecture chapter-1
Computer organization & architecture chapter-1Computer organization & architecture chapter-1
Computer organization & architecture chapter-1
Shah Rukh Rayaz
 

What's hot (20)

Interrupts in 8051
Interrupts in 8051Interrupts in 8051
Interrupts in 8051
 
Addressing Modes
Addressing ModesAddressing Modes
Addressing Modes
 
Memory hierarchy
Memory hierarchyMemory hierarchy
Memory hierarchy
 
Interrupts
InterruptsInterrupts
Interrupts
 
Microprocessor - Intel Pentium Series
Microprocessor - Intel Pentium SeriesMicroprocessor - Intel Pentium Series
Microprocessor - Intel Pentium Series
 
Chapter 02 instructions language of the computer
Chapter 02   instructions language of the computerChapter 02   instructions language of the computer
Chapter 02 instructions language of the computer
 
Direct memory access
Direct memory accessDirect memory access
Direct memory access
 
Register Reference Instructions | Computer Science
Register Reference Instructions | Computer ScienceRegister Reference Instructions | Computer Science
Register Reference Instructions | Computer Science
 
Introduction to 8085 microprocessor
Introduction to 8085 microprocessorIntroduction to 8085 microprocessor
Introduction to 8085 microprocessor
 
Architecture of 8085 microprocessor
Architecture of 8085 microprocessorArchitecture of 8085 microprocessor
Architecture of 8085 microprocessor
 
Intel core i5
Intel core i5Intel core i5
Intel core i5
 
Mips
MipsMips
Mips
 
Instruction Set Architecture
Instruction Set ArchitectureInstruction Set Architecture
Instruction Set Architecture
 
Computer organization & architecture chapter-1
Computer organization & architecture chapter-1Computer organization & architecture chapter-1
Computer organization & architecture chapter-1
 
Internal architecture-of-8086
Internal architecture-of-8086Internal architecture-of-8086
Internal architecture-of-8086
 
Direct Memory Access
Direct Memory AccessDirect Memory Access
Direct Memory Access
 
Interrupts and types of interrupts
Interrupts and types of interruptsInterrupts and types of interrupts
Interrupts and types of interrupts
 
Introduction to Structured Computer Organization
Introduction to  Structured Computer OrganizationIntroduction to  Structured Computer Organization
Introduction to Structured Computer Organization
 
Microprocessor 8086
Microprocessor 8086Microprocessor 8086
Microprocessor 8086
 
Architecture of 80286 microprocessor
Architecture of 80286 microprocessorArchitecture of 80286 microprocessor
Architecture of 80286 microprocessor
 

Viewers also liked

Viewers also liked (20)

Interrupts
InterruptsInterrupts
Interrupts
 
INTERRUPTS OF 8086 MICROPROCESSOR
INTERRUPTS OF 8086 MICROPROCESSORINTERRUPTS OF 8086 MICROPROCESSOR
INTERRUPTS OF 8086 MICROPROCESSOR
 
Arm architecture
Arm architectureArm architecture
Arm architecture
 
Data serial
Data serialData serial
Data serial
 
Introduction to Microcontroller
Introduction to MicrocontrollerIntroduction to Microcontroller
Introduction to Microcontroller
 
Ch12 microprocessor interrupts
Ch12 microprocessor interruptsCh12 microprocessor interrupts
Ch12 microprocessor interrupts
 
Input output in computer Orgranization and architecture
Input output in computer Orgranization and architectureInput output in computer Orgranization and architecture
Input output in computer Orgranization and architecture
 
8086 Microprocessor by Nitish Nagar
8086 Microprocessor by Nitish Nagar8086 Microprocessor by Nitish Nagar
8086 Microprocessor by Nitish Nagar
 
Asynchronous Serial Communication and standards
Asynchronous Serial Communication and standardsAsynchronous Serial Communication and standards
Asynchronous Serial Communication and standards
 
Microprocessors 1-8086
Microprocessors 1-8086Microprocessors 1-8086
Microprocessors 1-8086
 
Interrupts
InterruptsInterrupts
Interrupts
 
8051 microcontroller introduction
8051 microcontroller introduction8051 microcontroller introduction
8051 microcontroller introduction
 
07 Input Output
07  Input  Output07  Input  Output
07 Input Output
 
Unit – 2
Unit – 2Unit – 2
Unit – 2
 
Interrupts
InterruptsInterrupts
Interrupts
 
8251 USART
8251 USART8251 USART
8251 USART
 
Interrupts on 8086 microprocessor by vijay kumar.k
Interrupts on 8086 microprocessor by vijay kumar.kInterrupts on 8086 microprocessor by vijay kumar.k
Interrupts on 8086 microprocessor by vijay kumar.k
 
microcontroller vs microprocessor
microcontroller vs microprocessormicrocontroller vs microprocessor
microcontroller vs microprocessor
 
Interfacing 8255
Interfacing 8255Interfacing 8255
Interfacing 8255
 
INTRODUCTION TO MICROCONTROLLER
INTRODUCTION TO MICROCONTROLLERINTRODUCTION TO MICROCONTROLLER
INTRODUCTION TO MICROCONTROLLER
 

Similar to Coa INTERUPT

Ec 1303 microprocessor_its_applications
Ec 1303 microprocessor_its_applicationsEc 1303 microprocessor_its_applications
Ec 1303 microprocessor_its_applications
Merin Jesuraj
 
EMBEDDED SYSTEMS AND IOT lab manual for enginnering students
EMBEDDED SYSTEMS AND IOT lab manual for enginnering studentsEMBEDDED SYSTEMS AND IOT lab manual for enginnering students
EMBEDDED SYSTEMS AND IOT lab manual for enginnering students
eceprinter6
 
btech 8051 Microcontroller Programing.pptx
btech 8051 Microcontroller Programing.pptxbtech 8051 Microcontroller Programing.pptx
btech 8051 Microcontroller Programing.pptx
SKWriters
 
8051mc notes-121004121921-phpapp01
8051mc notes-121004121921-phpapp018051mc notes-121004121921-phpapp01
8051mc notes-121004121921-phpapp01
blacktricker
 

Similar to Coa INTERUPT (20)

Embedded System Basics
Embedded System BasicsEmbedded System Basics
Embedded System Basics
 
Introduction to microprocessor
Introduction to microprocessorIntroduction to microprocessor
Introduction to microprocessor
 
8085 notes g scheme 2016
8085 notes g scheme 20168085 notes g scheme 2016
8085 notes g scheme 2016
 
8085 notes g scheme 2016 (2)
8085 notes g scheme 2016 (2)8085 notes g scheme 2016 (2)
8085 notes g scheme 2016 (2)
 
Unit 1
Unit 1Unit 1
Unit 1
 
8085 notes g scheme 2016
8085 notes g scheme 20168085 notes g scheme 2016
8085 notes g scheme 2016
 
Introduction to microprocessor
Introduction to microprocessorIntroduction to microprocessor
Introduction to microprocessor
 
8085 notes g scheme
8085 notes g scheme8085 notes g scheme
8085 notes g scheme
 
8085 notes g scheme
8085 notes g scheme8085 notes g scheme
8085 notes g scheme
 
INDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptx
INDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptxINDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptx
INDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptx
 
Introduction to microprocessor notes
Introduction to microprocessor notesIntroduction to microprocessor notes
Introduction to microprocessor notes
 
Introduction to microprocessors notes
Introduction to microprocessors notesIntroduction to microprocessors notes
Introduction to microprocessors notes
 
Ec 1303 microprocessor_its_applications
Ec 1303 microprocessor_its_applicationsEc 1303 microprocessor_its_applications
Ec 1303 microprocessor_its_applications
 
Iot Workshop NITT 2015
Iot Workshop NITT 2015Iot Workshop NITT 2015
Iot Workshop NITT 2015
 
8085-microprocessor
8085-microprocessor8085-microprocessor
8085-microprocessor
 
EMBEDDED SYSTEMS AND IOT lab manual for enginnering students
EMBEDDED SYSTEMS AND IOT lab manual for enginnering studentsEMBEDDED SYSTEMS AND IOT lab manual for enginnering students
EMBEDDED SYSTEMS AND IOT lab manual for enginnering students
 
btech 8051 Microcontroller Programing.pptx
btech 8051 Microcontroller Programing.pptxbtech 8051 Microcontroller Programing.pptx
btech 8051 Microcontroller Programing.pptx
 
Micro processor
Micro processorMicro processor
Micro processor
 
8051mc notes-121004121921-phpapp01
8051mc notes-121004121921-phpapp018051mc notes-121004121921-phpapp01
8051mc notes-121004121921-phpapp01
 
8051mc notes-121004121921-phpapp01
8051mc notes-121004121921-phpapp018051mc notes-121004121921-phpapp01
8051mc notes-121004121921-phpapp01
 

More from Piyush Rochwani (20)

Unit 2
Unit 2Unit 2
Unit 2
 
Unit 3
Unit 3Unit 3
Unit 3
 
Biometrics based key generation
Biometrics based key generationBiometrics based key generation
Biometrics based key generation
 
Serial transmission
Serial transmissionSerial transmission
Serial transmission
 
Sequential and combinational alu
Sequential and combinational alu Sequential and combinational alu
Sequential and combinational alu
 
Memory virtualization
Memory virtualizationMemory virtualization
Memory virtualization
 
Risc
RiscRisc
Risc
 
Raid
Raid Raid
Raid
 
Pipelining and co processor.
Pipelining and co processor.Pipelining and co processor.
Pipelining and co processor.
 
Paging and segmentation
Paging and segmentationPaging and segmentation
Paging and segmentation
 
Page replacement algorithms
Page replacement algorithmsPage replacement algorithms
Page replacement algorithms
 
8086 Microprocessor
8086 Microprocessor8086 Microprocessor
8086 Microprocessor
 
Dma
DmaDma
Dma
 
Control unit
Control unitControl unit
Control unit
 
Memory types
Memory typesMemory types
Memory types
 
Solid state solid state drives
Solid state solid state drivesSolid state solid state drives
Solid state solid state drives
 
Cisc(a022& a023)
Cisc(a022& a023)Cisc(a022& a023)
Cisc(a022& a023)
 
Booth’s algorithm.(a014& a015)
Booth’s algorithm.(a014& a015)Booth’s algorithm.(a014& a015)
Booth’s algorithm.(a014& a015)
 
06 floating point
06 floating point06 floating point
06 floating point
 
05 multiply divide
05 multiply divide05 multiply divide
05 multiply divide
 

Recently uploaded

Industrial Training Report- AKTU Industrial Training Report
Industrial Training Report- AKTU Industrial Training ReportIndustrial Training Report- AKTU Industrial Training Report
Industrial Training Report- AKTU Industrial Training Report
Avinash Rai
 

Recently uploaded (20)

Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
 
How to Break the cycle of negative Thoughts
How to Break the cycle of negative ThoughtsHow to Break the cycle of negative Thoughts
How to Break the cycle of negative Thoughts
 
Sectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdfSectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdf
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
Basic Civil Engineering Notes of Chapter-6, Topic- Ecosystem, Biodiversity G...
Basic Civil Engineering Notes of Chapter-6,  Topic- Ecosystem, Biodiversity G...Basic Civil Engineering Notes of Chapter-6,  Topic- Ecosystem, Biodiversity G...
Basic Civil Engineering Notes of Chapter-6, Topic- Ecosystem, Biodiversity G...
 
Open Educational Resources Primer PowerPoint
Open Educational Resources Primer PowerPointOpen Educational Resources Primer PowerPoint
Open Educational Resources Primer PowerPoint
 
Danh sách HSG Bộ môn cấp trường - Cấp THPT.pdf
Danh sách HSG Bộ môn cấp trường - Cấp THPT.pdfDanh sách HSG Bộ môn cấp trường - Cấp THPT.pdf
Danh sách HSG Bộ môn cấp trường - Cấp THPT.pdf
 
Basic Civil Engg Notes_Chapter-6_Environment Pollution & Engineering
Basic Civil Engg Notes_Chapter-6_Environment Pollution & EngineeringBasic Civil Engg Notes_Chapter-6_Environment Pollution & Engineering
Basic Civil Engg Notes_Chapter-6_Environment Pollution & Engineering
 
Application of Matrices in real life. Presentation on application of matrices
Application of Matrices in real life. Presentation on application of matricesApplication of Matrices in real life. Presentation on application of matrices
Application of Matrices in real life. Presentation on application of matrices
 
[GDSC YCCE] Build with AI Online Presentation
[GDSC YCCE] Build with AI Online Presentation[GDSC YCCE] Build with AI Online Presentation
[GDSC YCCE] Build with AI Online Presentation
 
Jose-Rizal-and-Philippine-Nationalism-National-Symbol-2.pptx
Jose-Rizal-and-Philippine-Nationalism-National-Symbol-2.pptxJose-Rizal-and-Philippine-Nationalism-National-Symbol-2.pptx
Jose-Rizal-and-Philippine-Nationalism-National-Symbol-2.pptx
 
The impact of social media on mental health and well-being has been a topic o...
The impact of social media on mental health and well-being has been a topic o...The impact of social media on mental health and well-being has been a topic o...
The impact of social media on mental health and well-being has been a topic o...
 
The Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve ThomasonThe Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve Thomason
 
Introduction to Quality Improvement Essentials
Introduction to Quality Improvement EssentialsIntroduction to Quality Improvement Essentials
Introduction to Quality Improvement Essentials
 
Morse OER Some Benefits and Challenges.pptx
Morse OER Some Benefits and Challenges.pptxMorse OER Some Benefits and Challenges.pptx
Morse OER Some Benefits and Challenges.pptx
 
Industrial Training Report- AKTU Industrial Training Report
Industrial Training Report- AKTU Industrial Training ReportIndustrial Training Report- AKTU Industrial Training Report
Industrial Training Report- AKTU Industrial Training Report
 
INU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdf
INU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdfINU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdf
INU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdf
 
slides CapTechTalks Webinar May 2024 Alexander Perry.pptx
slides CapTechTalks Webinar May 2024 Alexander Perry.pptxslides CapTechTalks Webinar May 2024 Alexander Perry.pptx
slides CapTechTalks Webinar May 2024 Alexander Perry.pptx
 
Telling Your Story_ Simple Steps to Build Your Nonprofit's Brand Webinar.pdf
Telling Your Story_ Simple Steps to Build Your Nonprofit's Brand Webinar.pdfTelling Your Story_ Simple Steps to Build Your Nonprofit's Brand Webinar.pdf
Telling Your Story_ Simple Steps to Build Your Nonprofit's Brand Webinar.pdf
 
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
 

Coa INTERUPT

  • 1. Computer organization & architecture Interrupt signals and working(8085 or 8086)
  • 2.  What is a microprocessor?  What are its functions?  How was it invented?  Read on to know about one of the greatest wonder of electronics.
  • 3.  A microprocessor is an electronic component that is used by a computer to do its work. It is a central processing unit on a single integrated circuit chip containing millions of very small components.  Everything a computer does is described by lots of precise instructions, and microprocessors carry out these instructions at incredible speed—many millions of times a second.
  • 4.  Single board micro computers  Personal Computers  Communication  Instrumentation  Control  Office Automation and Publication  Among others.
  • 5.  The world's first microprocessor, the 4004, was co-developed by Busicom, a Japanese manufacturer of calculators, and Intel, a U.S. manufacturer of semiconductors
  • 6.  Intel 4004 (4 bit microprocessor and it was not a powerful microprocessor)  Intel 8080 (was the first microprocessor to make it to Home computers, It was introduced during the year 1974 and it could perform 8 bit operations)  Intel 8085 (Came out in the year 1976, it was an update of 8080 processors.  Intel 8086 (Came out during the year 1976. The major difference between 8085 and 8086 processor is that 8085 is an 8 bit processor, but 8086 processor is a 16 bit processor.
  • 7.  Intel 8087  Intel 8088 processor ( It was the first to be incorporated into IBM personal computers)  As the years progressed lots of processors from 8088,80286,80386,80486,Pentium II, Pentium III, Pentium IV and now Core2Duo,Dual Core and Quad core processors are the latest in the market.
  • 8.  Apart from Intel, there are some other manufacturers who produce Microprocessor chips. Such manufacturers are called second source manufacturers.  The second source manufacturers include:  AMD  Mitsubishi  NEC  OKI  Toshiba  Siemens
  • 9.  In year 1976, Intel introduced the 8085 microprocessor.  the 8085 microprocessor is an update of 8080 processors.  8080 processors are updated by adding two Enable/Disable Instructions, Three added interrupt pins and serial I/O pin  Intel introduced 8086 pins during the year 1976. The major difference between 8085 and 8086 processor is that 8085 is an 8 bit processor, but 8086 processor is a 16 bit processor.
  • 10. An interrupt is a signal or condition that causes the executing program to stop, save its state, and do a function call to service the signal or condition.
  • 11.  Once the servicing is complete, the service routine does a return from interrupt sequence, effectively a return from function call, that allows the processor to continue doing what it was doing before the interrupt.
  • 12.  Maskable interrupts.  non-maskable interrupts.
  • 13.  Difference between maskable and non-maskable interrupt?  the interrupt which can be ignored by the processor ,while performing its operations are called maskable interrupts  Non-maskable interrupts do not get gated by the interrupt control register -- they ALWAYS interrupt, no matter what state your processor is in. Typically these are used for CRITICIAL or FATAL conditions, or for system reset functions. If your system gets stuck in an infinite loop with interrupts disabled, the NMI is your last hope to reset the system.
  • 14.  Software interrupts.  Hardware interrupts.
  • 15.  Interrupt generated by executing an instruction is called software interrupt. It's also called 'trap'. Software interrupts are generally used to make system calls i.e. to request operating system to perform an I/O operation or to run a new program.
  • 16.  Examples: C++: A cout or cin statement would generate a software interrupt because it would make a system call to print something.  A fork() statement in Linux would generate a software interrupt because it would make a system call to create a new process.  Assembly IA32: The instruction int 21h would generate a software interrupt which would request something from operating system (depending on the register values).
  • 17.  Hardware interrupts are generated by hardware devices when something unusual happens; this could be a keypress or a mouse move or any other action.
  • 18.
  • 19.  • People like connecting devices  • A computer is much more than the CPU  • Keyboard, mouse, screen, disk drives  • Scanner, printer, sound card, camera, etc.  • These devices occasionally need CPU service  • But we can’t predict when  • External events typically occur on a macroscopic  timescale  • we want to keep the CPU busy between events  FNeed a way for CPU to find out devices need  attention
  • 20. They are  TRAP  RST 7.5  RST6.5  RST5.5  INTR  INTA
  • 21.  A software interrupts is a particular instructions that can be inserted into the desired location in the rpogram. There are eight Software interrupts in 8085 Microprocessor. From RST0 to RST7.  RST0  RST1  RST2  RST3  RST4  RST5  RST6  RST7
  • 22.  They allow the microprocessor to transfer program control from the main program to the subroutine program. After completing the subroutine program, the program control returns back to the main program.
  • 23.  TRAP:-It is non maskable edge and level triggered interrupt. TRAP has the highest priority and vectores interrupt. Edge and level triggered means that the TRAP must go high and remain high until it is acknowledged. In case of sudden power failure, it executes a ISR and send the data from main memory to backup memory.
  • 24.  RST7.5:-It has the second highest priority. It is maskable and edge level triggered interrupt. The vector address of this interrupt is 003CH. Edge sensitive means input goes high and no need to maintain high state until it is recognized.
  • 25.  RST6.5 and RST5.5:-These are level triggered and maskable interrupts.  .INTR:-It is level triggered and maskable interrupt. It has the lowest priority. It can be disabled by reseting the microprocessor or by DI and SIM instruction.
  • 26.  We can calculate the vector address of these interrupts using the formula given below:   Vector Address = Interrupt Number * 8  So we can find simply vector address. For Example:   RST2: vector address=2*8 = 16  RST1: vector address=1*8 = 08  RST3: vector address=3*8 = 24