
S1C88348/317/316/308 TECHNICAL SOFTWARE
EPSON
II-105
17 INTERRUPT (EXCEPTION) PROCESSING
Source List
(4) Interrupt processing for peripheral circuit
;************************************************************************
;*
*
;*
programmable timer 1 (/irq3)
*
;*
*
;************************************************************************
pt1_intr:
push
ale
;
programmable timer 1 interrupt processing
;
and
[br:low intr_fac1],#10000000b
;clear fpt1 interrupt flag
pop
ale
rete
;************************************************************************
;*
*
;*
programmable timer 0 (/irq3)
*
;*
*
;************************************************************************
pt0_intr:
push
ale
;
programmable timer 0 interrupt processing
;
and
[br:low intr_fac1],#01000000b
;clear fpt0 interrupt flag
pop
ale
rete
;************************************************************************
;*
*
;*
k1x input port (/irq3)
*
;*
*
;************************************************************************
k1x_intr:
push
ale
;
k1x input port interrupt processing
;
and
[br:low intr_fac1],#00100000b
;clear fk1 interrupt flag
pop
ale
rete
;************************************************************************
;*
*
;*
k0h input port (/irq3)
*
;*
*
;************************************************************************
k0h_intr:
push
ale
;
k0h input port interrupt processing
;
and
[br:low intr_fac1],#00010000b
;clear fk0b interrupt flag
pop
ale
rete
;************************************************************************
;*
*
;*
k0l input port 0 (/irq3)
*
;*
*
;************************************************************************
k0l_intr:
push
ale
;
k0l input port interrupt processing
;
and
[br:low intr_fac1],#00001000b
;clear fk0a interrupt flag
pop
ale
rete
;************************************************************************
;*
*
;*
serial error (/irq2)
*
;*
*
;************************************************************************
serr_intr:
push
ale
;
serial error interrupt processing
;
and
[br:low intr_fac1],#00000100b
;clear fserr interrupt flag
pop
ale
rete
(4)