
Originally Posted by
amindzo
Hi,...and it's hex file is more than 4k so i can't use 16F873A but i use 16F877A.so i have these two questions:
1- if my program is being more than 8K what should i do?...
Are you using PBP and Code Studio?
If yes, how many "words" do you get when you compile your code?
Remember that the "words used" changes from PIC to PIC.
If you compile a code for 16F873A, you get say 200 words, but you may get more if you compile the exact same code for 16F877A.
Thus, you should not look at the size of the HEX file, but the "words used".
---------------------------
"If the Earth were a single state, Istanbul would be its capital." Napoleon Bonaparte
Bookmarks