ORG 0x0008
bra HighInt ;go to high priority interrupt routine
;******************************************************************************
;
; Low priority interrupt vector
; =============================
ORG 0x0018
; movff STATUS,STATUS_TEMP ;save STATUS register
; movff WREG,WREG_TEMP ;save working register
; movff BSR,BSR_TEMP ;save BSR register
; *** low priority interrupt code goes here ***
; movff BSR_TEMP,BSR ;restore BSR register
; movff WREG_TEMP,WREG ;restore working register
; movff STATUS_TEMP,STATUS ;restore STATUS register
retfie
;******************************************************************************
;
; High priority interrupt routine
; ===============================
HighInt nop