Olin Lathrop wrote: > Can you send the whole module, or at least a stripped down version that > still exhibits the symptom? Hi. Below is a "compressed" (comments and ISR code removed) of my version. Thanks for your time ! Jan-Erik. ; ; Interrupt service and related routines. ; include "D02.inc" extern_flags ;declare global flag bits EXTERN ; ;*********************************************************************** ; ; Configuration constants. ; save_fsr equ true ;indicate whether ISR must save/restore FSR niregs equ 0 ;num of IREGn private interrupt routine registers ; ; defram gbankadr ; ; defram 0 status_save res 1 ;saved copy of STATUS, nibbles swapped if save_fsr fsr_save res 1 ;saved copy of FSR (if FSR save enabled) endif if ncodepages > 1 pclath_save res 1 ;saved copy of PCLATH (if multiple code pages) endif ; ; Define the IREGn general register for use during an interrupt. ; ii set 0 while ii < niregs ;once for each IREG register to define ireg#v(ii) res 1 ;define this IREGn register global ireg#v(ii) ;make is global for interrupt code in other modules ii set ii + 1 ;advance to next IREG number endw ;back to define next IREG ; ; This state is private to the interrupt service routine and must always ; be accessible regardless of the current direct register bank setting. ; udata_shr w_save res 1 ;saved W during interrupt, mapped to all banks .intr code ; ;*********************************************************************** ; ; Subroutine INTR_INIT ; [The rest is various IRS's...] ---Original Message----- -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body