What do you mean by 'interfering' ? What happens the the 'normal' code ? I cannot give you an 18F specific answer but there are many things that can go wrong, for example, if both Access the same resource (I/O, memory variable, etc) at the same time (unless it is done right), the interrupt routing cause stack overflow, etc. Tal > -----Original Message----- > From: pic microcontroller discussion list > [mailto:PICLIST@MITVMA.MIT.EDU] On Behalf Of Silvio Baccari > Sent: Wednesday, May 07, 2003 4:04 AM > To: PICLIST@MITVMA.MIT.EDU > Subject: [PIC]: Interrupt routin interferes with normal execution! > > > I'm using C18 compiler with 18F452 , but some time the > execution of interrupt conflict with execution of the > "normal" code not in the ISR. I have used the directive: > > #pragma interrupt high_isr save = > PRODL,PRODH,BEXP,AEXP,AARGB0,AARGB1,AARGB2,AARGB3,BARGB0,BARGB > 1,BARGB2,BARGB3 > > Is there another solution for this type of problem? > > Silvio > > -- > http://www.piclist.com hint: PICList Posts must start with ONE topic: > [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads > -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads