Ca-1 Presentation: Ept of Lectronics and Ommunication Ngineering
Ca-1 Presentation: Ept of Lectronics and Ommunication Ngineering
CA-1 PRESENTATION
Types of interrupt:
1. Software interrupt
2. Hardware interrupt
Interrupt source:
• Hardware interrupts occur due
to a change in state of some
hardware.
• Software interrupts are
triggered by the execution of a
machine instruction.
SOFTWARE INTERRUPT
A software interrupts is a particular instructions that can be inserted into the desired
location in the program.
Software Interrupts: Software interrupt can also divided in to two categories.
Normal Interrupts: the interrupts which are caused by the software instructions are called
software instructions.
Exception: unplanned interrupts while executing a program is called Exception. For example:
while executing a program if we got a value which should be divided by zero is called a
exception.
There are eight Software Calculation for vector Address:
interrupts in 8085 Microprocessor: Vector Address = Interrupt Number * 8
So we can find simply vector address. For Example:
RSTO RST4
RST2: vector address=2*8 = 16
RST1: vector address=1*8 = 08
RST1 RST5
RST3: vector address=3*8 = 24
RST2 RST6
RST3 RST7
Hardware interrupt
Interrupt is a signal to the processer generated by the hardware indicated an immediate
attention needed by an event.
Categories:
Maskable Interrupt: The hardware interrupts which can be delayed when a much highest
priority interrupt has occurred to the processor.
Non Maskable Interrupt: The hardware which cannot be delayed and should process by the
processor immediately.
In 8085 we have 5 interrupt
NAME Priority Maskable Non-maskable
1. Trap (RST 4.5) highest 1)RST 7.5 TRAP/NMI(RST 4.5)
•Exception:
Unplanned interrupts while executing a program is called Exception. For example: while
executing a program if we got a value which should be divided by zero is called a exception.
Interrupt Handling:
The interrupt handler is also called as Interrupt service routine (ISR). There are different types
of interrupt handler which will handle different interrupts. For example for the clock in a
system will have its interrupt handler, keyboard it will have its interrupt handler for every
device it will have its interrupt handler.
REFERENCE:
1. slideshare. Net
2. Google wikipedia
3. Meta AI
THANK YOU