That pretty much does it. C does not need invoke reset gracefully, because neither C nor any language cannot handle reset "gracefully". The stack and the context are instantly gone when this happens on hardware. Danny Vitaliy wrote: > Is there a predefined macro or a function that does this? > > __asm__ volatile ("reset") > > > -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist