16f84 to 12c509a? is it possible?

Status
Not open for further replies.

egg0900

New Member
I would like to convert this porgram to work with a 12c509a chip is it possible?
 

Attachments

  • mag4.zip
    1.5 KB · Views: 245
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.
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…