On 1/6/06, Jinx wrote: > > > not putting rotated value back to TEMP_VAR register > > try > > > > RRF TEMP_VAR,F > > Ah, I have it like that in my program, seem to have *ovelooked* the , F in the email though. Jinx; I just tried clearing C-bit before running the main-loop. Stil the same problem. I fear that it might be another problem indeed! Hector: I am simulating it in MPLAB, because it doesn't work like I want it to on the real thing. I define TEMP_VAR like so: TEMP_VAR RES 1. Sean. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist