At 12:33 AM 12/29/99 -0600, John wrote: >I think the designation of the pins is GP1, GP2 >and so forth. > > >I wrote the following sample ("sqwave.sti"): > > > >!12.28.99 23.15 SQWAVE.STI > >!stimulus file for SQWAVE.ASM > >CYCLE GPIO1 GPIO2 GPIO3 > >1 1 0 0 > >2 1 1 1 Thanks, John. The "GPIO" version was a relic of my trying everything to get this to work. Now, with GP1-GP3 as pin names AND all comments removed, the inputs do seem to be appearing at the GPIO port register! Ta-Dah! However, now I've got a new problem. Although I've configured ~MCLR off, __CONFIG _CP_OFF & _WDT_OFF & _MCLRE_OFF & _XT_OSC MPLAB continues to go into reset whenever GP3 goes low. The 12c509a burned with the program works correctly, though. Any suggestions as to how to deal with this? MPLAB apparently won't give up on GP3 being ~MCLR instead of an input pin. ================================================================ Robert A. LaBudde, PhD, PAS, Dpl. ACAFS e-mail: ral@lcfltd.com Least Cost Formulations, Ltd. URL: http://lcfltd.com/ 824 Timberlake Drive Tel: 757-467-0954 Virginia Beach, VA 23464-3239 Fax: 757-467-2947 "Vere scire est per causae scire" ================================================================