[PicForth] 2K program memory limitation?
Alex Holden
alex at linuxhacker.org
Sat Nov 20 13:33:49 CET 2004
David McNab wrote:
> Alex Holden wrote:
>> 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
> At that stage in picforth.fs, the radix has been set to hex.
> '2000' means 8192 bytes.
Ah! I remember why it confused me. The _comment_ says "2kwords (11 bits
addressing)" even though the actual limit in the code is 8kwords (13
bits addressing).
--
------------ 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