James Cameron wrote: > > On Tue, Jan 04, 2000 at 02:59:15AM +0000, Martin Browne wrote: > > another newbie, I'm trying to learn to program the Pic12c508/9 any help > > would be great, however i have some code for the 16c622 and i would like to > > take parts of it and insert it into a Pic12c508/9 looking at the commands > > they seem alike. Is this possible and can anyone help?. > > I'm afraid I don't know what a 16C622 is like, but chances are it is > similar to the 16F84. If so, then I've been there. > > Have a look at http://quozl.us.netrek.org/porting-16f84-12c509/ > > -- > James Cameron mailto:quozl@us.netrek.org http://quozl.us.netrek.org/ Fairly similar, only EPRom/OTP; Capable of 20MHz; And has some different peripherals onboard, specifically 2 Analog comparators, that's a noticeable difference. http://www.microchip.com/Download/Lit/PICmicro/16C62X/30235g.pdf tells the tale. Used a few, back in my Parallax assembler days. It's been a while. So - basic worries: Clock speed (20MHz down to 4MHz is a squeeze, if your application used a fast crystal and needed it, potentially.) Code Size 2k down to 1k, RAM 128 locations down to 41. And if they're using those comparators, you'll need to do some of the "pin-twiddling" tricks to handle those being absent, potentially. Also, fewer pins, but you knew that Mark -- I re-ship for small US & overseas businesses, world-wide. (For private individuals at cost; ask.)