On Wednesday 07 May 2003 04:04 am, Silvio Baccari wrote: > 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,BARGB1,BAR >GB2,BARGB3 > > Is there another solution for this type of problem? What do you mean by "conflict"? Note that there are some errata with regards to using both the high and low priority interrupts at the same time. -- Ned Konz http://bike-nomad.com GPG key ID: BEEA7EFE -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads