> Van: Andy Shaw > Aan: PICLIST@MITVMA.MIT.EDU > Onderwerp: Interrupt triggered when intcon mask clear - help! > Datum: zaterdag 30 mei 1998 20:00 > > Hi I've been struggling with a problem for a while now so I thought that > maybe somebody out there may have seen this one before. > > Basically I'm seeing my RBIE/RBIF (Int on port b change) interrupt routine > being called even though the RBIE (enable flag) is clear. Basically my int > handler looks like this..... [Cut] Andy, the RBIF-flag is set regardless of the RBIE-flag. To see if a INT took place _and_ was enabled, you will have to AND them together (or to check for the RBIE-flag in the service-routine. Greetz, Rudy Wieser P.s. I had the same problem when using the USART and TIMER0 together