(copy from a few weeks ago)
This is a FFFAQ
16f84 (68 file registers == ram bytes) is upwards compatible with 16c84
(36), except for:
- polarity of power-on timer enable bit
- code-protection bits
Neither will be very important for a hobby project.
Using the appropriate header files (in whathever language you use) will
useually take care
of these differences, but in a pinch you can simply substitute a 16f84 for
a 16c84,
invert the power-on enable (if you care at all) and live with a
less-than-perfect
code protection (if you enabled this at all).
regards,
Wouter.
----------
{Quote hidden}> From: enpassant <
spam_OUTenpassantTakeThisOuT
AMERITECH.NET>
> To:
.....PICLISTKILLspam
@spam@MITVMA.MIT.EDU
> Subject: 16C84 vs. 16F84
> Date: Saturday, November 28, 1998 06:02
>
> As I understand it the 16C84 and 16F84 are essentially the same chip,
> but I have not had much success using 16C84 code directly on a 16F84.
> Can someone please answer the following questions..
> 1) What are the differences?
> 2) Can a program written for 16C84 be used *EXACTLY* as is for the
> 16F84,
> including assembler instructions and memory address references?
> 3) If answer to #2 is *NO* what modifications are necessary.
> THANKS!
> --
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Confucius says Support bacteria - it is the only culture some people
> have!
> <><
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~