On 12/5/06, Dumitru Stama wrote: > Can anyone see if i am doing something wrong with the folowing piece > of code ? I have the .lst as well as .hex files if that might help. I > have been doing this for the last 10 hours and i feel like i am > loosing my mind. > Just throwing one possibility -- which version of C18 are you using? Try to update to the latest version and see if the problem goes away. Another idea, try to simulate in MPSIM and see if it helps to identify the problem. One last suggestion, you can try Microchip Forum for C18 problems as there are quite some Microchip C18 experts. You can also try Microchip Support. Regards, Xiaofan -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist