I use MCS Pro and PicBasic Pro.
I noticed that there are (probably) a limitation on compiled code when I use PIC16F628 2KB.
It is indeed a limitation or wrong?
Thanks.
I use MCS Pro and PicBasic Pro.
I noticed that there are (probably) a limitation on compiled code when I use PIC16F628 2KB.
It is indeed a limitation or wrong?
Thanks.
Yes, the 16F628 only has 2K words of program space.
It is a physical limitation of that chip.
The 16F648A has 4K and is very similar to the 628.
And there are other chips with even more memory
DT
Thank you very much, Darrel.
My previous error was: [218] address limit of 7ffh exceeded.
I switched to 16F648A and compiled the source code and now I got a warn: [102] code crosses boundary @ 800h.
The code will work correctly? I must do something special now?
Thank you very much.
Dave
Always wear safety glasses while programming.
Thank you very much, mackrackit.
Well, an old post for an old problem.
In MicroCode Studio, go to ...
View > Editor Options > General tab, and check the "Disable 'code crosses boundary' ASM warning"
Then never use the BRANCH statement, use only BRANCHL if needed.
DT
Bookmarks