> Using a pic16f886. >=20 > Is there a way to determine stack depth so that it can be output for > diagnostic purposes? As others have said, no, but I seem to recall that MPLAB will determine sta= ck depth while simulating, but haven't attempted to use that feature. --=20 Scanned by iCritical. --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .