added CFA>TFA
[rrq/rrqforth.git] / adoc / p_dovariable.adoc
1 // rrqforth.asm:        WORD p_dovariable,'doVARIABLE',dovariable
2
3 anchor:p_dovariable[]
4
5 === Word: doVARIABLE
6
7 ....
8 Data stack: ( -- a )
9 ....
10
11 "doVARIABLE" is a variable word whose value is the implementation of
12 the execution semantics for "variables", which basically are markers
13 into the heap for some number block of memory.
14
15 The execution of a variable results in pushing its content address:
16 ....
17 Resulting data stack: ( -- a )
18 ....
19
20