SN8P2977
8-Bit Micro-Controller with Regulator, PGIA, 24-bit ADC
SONiX TECHNOLOGY CO., LTD
Page 61
Version 1.7
INTUTXCHK:
; Check UTX interrupt request
B0BTS1
FUTXIEN
; Check UTXIEN
JMP
INTURXCHK
; Jump check to next interrupt
B0BTS0
FUTXIRQ
; Check UTXIRQ
JMP
INTUTX
; Jump to UART TX interrupt service routine
INTURXCHK:
; Check URX interrupt request
B0BTS1
FURXIEN
; Check URXIEN
JMP
INT_EXIT
; Jump to exit of IRQ
B0BTS0
FURXIRQ
; Check URXIRQ
JMP
INTURX
; Jump to UART RX interrupt service routine
INT_EXIT:
…
; Pop routine to load ACC and PFLAG from buffers.
RETI
; Exit interrupt vector