Hi I am having a problem with some code where I get erratic results until I disable the interrupt. The working registers are all backed up on the stack and the only potential problem I can see is that there are a couple of repeat instructions followed by divide instructions. The PRM states that the divide instruction can be interrupted between instruction cycles but I'm not clear exactly what that means. Is there a potential problem here? Cheers James -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist