On Sun, Dec 11, 2011 at 4:43 PM, Dave Harris 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? > > To extend that question, what happens when your assembler program finishes execution? What is the next instruction? --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .