>> I don't understand how to call the interrupt routine... >=20 > *You* never do. It is "called" automaticly by the interrupt > hardware logic whenever an interrupt condition occures. Which is of course why, Richard, it's called an interrupt :-)) Don't forget to add the context saving, as generally you can be in some random place executing any other code when the ISR is entered, and retaining the values of W and Status is more than likely important to the code you return to after the ISR Joe --=20 http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .