16f84 to 12c509a? is it possible?

egg0900 said:
I would like to convert this porgram to work with a 12c509a chip is it possible?

It should be no problem, the 12 bit core of the 12C509 has less instructions than the 14 bit core 16F84 - at a quick glance the only code change required is 'return', this isn't supported on the 12 bit chips - you need to replace it with 'retlw 0x00' instead.
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…