> *>(obviously, this doesn't work as well if you start needing interrupt vectors > *>and so on, but hopefully by the time your program gets that complex you've > *>got more experience and more flash alternatives. It's the really "trivial" > *>first time attempts and such that I want to address.) > > There are NO interrupt vectors to care for. There is OSCCAL so the first > instruction is MOVLW OSCCAL but the rest is as you described. There is one gotcha. These chips can only call subroutines in the low 256 bytes of each 512 byte page if I remember right. This is all rather silly though. Switch to the 12F628, or if it's a high volume product a few JW parts will be cheap and certainly better than wasting time farting around reusing OTP parts. I usually get 8 JW parts when developing with non-flash PICs (not doing that much anymore). That allows me to keep the eraser busy and ensure there is always a blank one when I'm ready to try new firmware. ***************************************************************** Embed Inc, embedded system specialists in Littleton Massachusetts (978) 742-9014, http://www.embedinc.com -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body