Will it or won't it?

Thread Starter

R!f@@

Joined Apr 2, 2009
9,918
Will an Assembly file written for a 16F84 work if programmed to a 16F88?

Yes or no?
If no, then why?
 

Markd77

Joined Sep 7, 2009
2,806
No, analog needs turning off, user ram starts at a different location, probably SFRs are in different banks, probably the config will be wrong. There's probably a few other things.
 

Thread Starter

R!f@@

Joined Apr 2, 2009
9,918
I know it will not work directly, obviously the config and all need to be correct.

what I am talking abt is the what the code does.
 

retched

Joined Dec 5, 2009
5,207
They both use the same functions and such, so you could port it pretty easily.

The problems you would run into, is if your first chip has SPI and the second didnt.
But in this case, standard code (nothing extravagant) should port just fine (As long as you watch register location)
 
Top