[PicForth] 2K program memory limitation?

Alex Holden alex at linuxhacker.org
Sat Nov 20 12:06:10 CET 2004


I was reading picforth.fs trying to fathom out how it works, when I came 
across this bit:

\ We are not being strict here. At this time, we assume that all the
\ code fits in 2kwords (11 bits addressing) and that main data fits in
\ one bank (except special registers).
2000 constant code-size

Does this mean that picforth is only capable of using the first 2K 
instructions even though it currently only targets PICs with 4Kwords and 
8Kwords of flash? If so this was a surprise to me. I don't recall seeing 
it mentioned in the documentation or on the web site. Are there plans to 
remove the restriction at some point?

-- 
------------ Alex Holden - http://www.linuxhacker.org ------------
If it doesn't work, you're not hitting it with a big enough hammer



More information about the PicForth mailing list