additional part-cell primitives
[rrq/rrqforth.git] / adoc / p_Wcomma.adoc
1 // compile.asm: WORD p_Wcomma,'W,',fasm
2
3 anchor:p_Wcomma[]
4
5 === Word: W,
6
7
8 ....
9 Data stack: ( v -- )
10 ....
11
12 "W," (W-comma) is a function word that puts a "word" (double-byte) on
13 the <<p_here,HERE>> heap. The two least significant bytes of the value
14 are put at the current free head address, which also is incremented
15 accordingly.
16
17 ====
18 .Definition concept for W,
19 ****
20 : W, HERE @ 2 ALLOT W! ;
21 ****
22 ====
23