
Originally Posted by
BrianT
I guess MCS+ really does report in BYTES used for program memory with some microcontrollers and in WORDS for others - watch out.
Nothing random going on – see the datasheet for the PIC in question (usually the first table in the datasheet)
18F's have 16 bit wide instructions, which are reported as 2 bytes per 16 bit instruction.
16F's and lower have 14 (or 12) bit wide instructions, which are reported as 1 word per 14 (or 12) instruction.
Yes, you can divide the 18F byte count by 2 to roughly compare to the 16F family.
HTH
Paul Borgmeier
Salt Lake City, UT
USA
__________________
Bookmarks