identify TEMPUSED properly
[rrq/rrqforth.git] / adoc / p_tempused.adoc
1 // temp.asm:    WORD p_tempused,'TEMPUSED',dovariable
2
3 anchor:p_tempused[]
4
5 === Word: TEMPUSED
6
7 ....
8 Data stack: ( -- a )
9 ....
10
11 "TEMPUSED" is a variable word that keeps the lowest offset of the
12 <<p__tempspace,TEMPSPACE>> space to use next as temporary space. This
13 is advance upon each allocation via <<p_temp,TEMP>>, and recycled back
14 to <<p_tempheld,TEMPHELD>> when next allocation otherwise would exceed
15 the space size.