INTERRUPTS

KS57C2308/P2308/C2316/P2316

 

 

+PROGRAMMING TIP — Enabling the INTB and INT4 Interrupts

To simultaneously enable INTB and INT4 interrupts:

INTB

DI

 

 

 

 

BTSTZ

IRQB

;

IRQB = 1 ?

 

JP

INT4

; If no, INT4 interrupt; if yes, INTB interrupt is processed

 

 

 

 

 

 

 

 

 

 

 

 

 

EI

 

 

 

 

IRET

 

 

 

INT4

BITR

IRQ4

;

INT4 is processed

 

 

 

 

 

 

 

 

 

 

 

 

 

EI

 

 

 

 

IRET

 

 

 

7-14

Page 198
Image 198
Samsung KS57C2308 manual + Programming TIP Enabling the Intb and INT4 Interrupts, Intb Btstz Irqb, Iret INT4 Bitr IRQ4