Hi! How do I deal with interrupts in PIC16x.. ? Here's what I (think) know: - Single int vector in 0x0004 - I need to check which int to handle in the routine But, what flags are changed upon an interrupt call, and which flags are recovered after the int call? >From the docs, I think it's possible to use the ints in a polling way. I would do this by disabling the GIE (mask off all ints) and then, in the code, check the individual flags. Is this possible? Thank you, Nuno. -- .^. _,^,_ /\ ___( | )_____ Nuno Filipe Freitas Pedrosa __________ o(`} | , __/\/ /__ /*\\|//*\ SIEMENS S.A. Portugal (]| /' \ \/\ \(\\V//)/ mailto:Nuno.Pedrosa@oen.siemens.de (]|`% (") \/\ \ ` -=- ' Tel. :00351-1-4242454 (") /`/ / /\/ __B//|\\P___________________________________________\' / `/______\/____ `-' "Try and leave this world a little better than you found it..."