;
;         <irq_ngp629.txt>    
;
;------------------------------------------------------
; INTERRUPT SERVICE ROUTINE
;------------------------------------------------------------------------------

INT_VECTOR    CODE    0x0004  ; interrupt vector location
;        MOVWF   W_TEMP        ; save off current W register contents
;        MOVF    STATUS,w      ; move status register into W register
;        MOVWF   STATUS_TEMP   ; save off contents of STATUS register

; isr code can go here or be located as a call subroutine elsewhere

;        MOVF    STATUS_TEMP,w ; retrieve copy of STATUS register
;        MOVWF   STATUS        ; restore pre-isr STATUS register contents
;        SWAPF   W_TEMP,f
;        SWAPF   W_TEMP,w      ; restore pre-isr W register contents
        RETFIE                ; return from interrupt