Trap

888 views 9 slides Oct 21, 2013
Slide 1
Slide 1 of 9
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9

About This Presentation

No description available for this slideshow.


Slide Content

TRAP

INTERRUPT The interrupt I/O is a process of data transfer where an external device can get the attention of the microprocessor. The process starts from the I/O device The process is asynchronous .

TYPES OF INTERRUPTS Maskable interrupts Non-maskable interrupts Vectored interrupts Non-vectored interrupts

There are 5 interrupt inputs . T hey are INTR RST 5.5 RST 6.5 RST 7.5 TRAP VECTORED INTERRUPTS

MASKABLE INTERRUPTS: RST 5.5 RST 6.5 RST 7.5 NON-MASKABLE INTERRUPTS: TRAP

These interrupts call locations are I nterrupts Call location 1. TRAP 0024H 2. RST 7.5 003CH 3. RST 6.5 0034H 4. RST 5.5 002CH

This interrupt is a non-maskable interrupt. It is unaffected by any mask or interrupt enable . TRAP bas the highest priority and vectored interrupt . 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 . The signal, which overrides the TRAP, is HOLD signal. (i.e., If the processor receives HOLD and TRAP at the same time then HOLD is recognized first and then TRAP is recognized ). TRAP

There are two ways to clear TRAP interrupt.                1. By resetting microprocessor (External signal)              2. By giving a high TRAP ACKNOWLEDGE (Internal signal)

THANK YOU
Tags