fixed (comma)
[rrq/rrqforth.git] / adoc / p_here.adoc
1 // compile.asm: WORD p_here,'HERE',dovariable
2
3 anchor:p_here[]
4
5 === Word: HERE
6
7 ....
8 Data stack: ( -- a )
9 ....
10
11 "HERE" is a variable word that keeps the lowest address of the free
12 allocation space. It get updated by all words that allocate memory.
13
14
15 ====
16 .allocate 1024 bytes on the heap
17 [caption='Usage example {counter:example} ']
18 ****
19 1024 HEAP @ + HEAP !
20 ****
21 ====
22
23 See also <<p_allot,ALLOT>>.