Help with tmr1 and icd debugger While trying to monitor tmr1 interrupt using the icd it appears that the debugger doesn't support interrupts regarding tmr1 overflow. If i use mpsim the interrupt occurs. Their is a short programme below which doesn't work with the icd, but works under mpsim. Could anyone tell me what the problem is or does icd not support tmr interrupts! list p=16f877 ; list directive to define processor #include ; processor specific variable definitions __CONFIG _CP_OFF & _WDT_OFF & _BODEN_ON & _PWRTE_ON & _HS_OSC & _WRT_ENABLE_ON & _LVP_OFF & _DEBUG_OFF & _CPD_OFF pclath_temp EQU 0X20 status_temp EQU 0X21 w_temp EQU 0X22 ORG 0x000 ; processor reset vector NOP goto START ;**********************************interrupt vector***************************** ORG 0x004 ; 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 movf PCLATH,w movwf pclath_temp BCF STATUS,RP0 CLRF PCLATH BCF PIR1,TMR1IF movf pclath_temp,w movwf PCLATH 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 ;******************************end of interrupt vector************************** ;start of main programme****************************** START CLRF PIR1 CLRF INTCON CLRF TMR1L CLRF TMR1H BCF PIR1,TMR1IF ;INT FLAG ;TMR1 INTERRUPT FLAG BSF T1CON,TMR1ON ;SWITCH ON TMR1 BSF INTCON,PEIE BSF STATUS,RP0 BSF PIE1,TMR1IE ;SET TMR1 INT ;ENABLE TMR1 INTERRUPT BCF STATUS,RP0 BSF INTCON,GIE ;ENABLE INTURRUPT NOP NOP NOP NOP NOP ;JUMP TO INTERRUPT BY BSF PIR1,TMR1IF ;TRIGGERING TMR1 INTERRUPT FLAG NOP ;PROGRAM CONTINUES TO HERE DOESN'T GO TO NOP ;INTERRUPT VECTOR NOP ; HELP help help help END