Closed tkers closed 6 years ago
Why ,
and c,
shouldn't be available for RAM as well? An early limitation that we can improve later or something intrinsic?
The most basic support would mean that RAM is uninitialised. So just like !
and c!
, emitting data would only be supported for ROM (the other words only reference/allocate space).
I created #284 to discuss the possibility of initialising RAM.
Implemented in f270e7e7637e351378cddcd36012703c1038b3c5
And updated to make VARIABLE
possible in both locations: c9c53130bb76280fe70b245a033fbeacf13b31a7
As described in https://www.taygeta.com/forth/dpanse.htm#E.5, we should add the words
RAM
andROM
to select the memory that words should be referencing.Compile-time:
,
c,
here
unused
allot
align
aligned
create
variable
Run-time:
,
c,
here
unused
allot
align
aligned
create
variable