I would love to post (to http://www.piclist.com ) a conditional assembly template that allows development on '877 then one define change and compile for target. Please let me know if you make such a thing and wish to release it. --- James Newton (PICList Admin #3) mailto:jamesnewton@piclist.com 1-619-652-0593 PIC/PICList FAQ: http://www.piclist.com or .org -----Original Message----- From: pic microcontroller discussion list [mailto:PICLIST@MITVMA.MIT.EDU]On Behalf Of Quentin Sent: Thursday, May 25, 2000 11:45 To: PICLIST@MITVMA.MIT.EDU Subject: Re: PIC ICD Can anybody say synchronicity? On my way back from a customer today I was thinking the same thing. He needed a quick fix for a simple problem and I reckoned a 12C508 will do the job just fine, ready by tomorrow. Not being in the mood for pipe lining a few 12C508 JW's through the mill, I though why not use ICD with the F877 to develop and then convert for the 12C508. I "INCLUDE" another .inc file in my main .ASM in which I declared my registers for the F877 and use "#DEFINE" for the I/O bits and flags. After testing my code on the ICD demo board I copied the main body over to an 12C508 template. All I had to do was to rewrite the .inc file and Voila!, 3 hours later I had a working 12C508, much quicker than pipe lining JW devices would give me. So this got me thinking that this type of development has some valid points and if time permits me, I will look into developing a standard for myself doing this kinda thing in the future with other (non ICD) PICs. Anybody up for the challenge? Quentin