At 22.43 2011.12.11, you wrote: >Hi All. > >I know I should not let it happen, but I'm curious... >In Hitech C code on a PIC (or others) what happens if main() exits? > >Dave On the PIC32 C compiler, it enters an infinite loop ( like while(1); ). --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .