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,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