> That's like writing in assembler and asking for a program to convert it to > C. Think of the schematic (I assmume that's what you mean by "diagram"?) as You are not going to believe this, but that is in fact done sometimes. The C compiler later optmises the code and makes it portable. It is one of the faster ways to port a piece of assembler afaik (using many macros for the assembler instructions). Peter -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist