projects
/
rrq
/
rrqforth.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
document the INPUT word
[rrq/rrqforth.git]
/
adoc
/
p_comma.adoc
diff --git
a/adoc/p_comma.adoc
b/adoc/p_comma.adoc
index cca9e0b218b9dc076577967266890fcda19b513f..f3064b720db5868d798c21c23cb17b31bbd40d76 100644
(file)
--- a/
adoc/p_comma.adoc
+++ b/
adoc/p_comma.adoc
@@
-1,19
+1,23
@@
-Word: ,
--------
+// compile.asm: WORD p_comma,',',fasm
+
anchor:p_comma[]
anchor:p_comma[]
-----
-compile.asm: WORD p_comma,',',fasm
-----
+=== Word: ,
+
+
+....
Data stack: ( v -- )
Data stack: ( v -- )
+....
-"," is a function word that puts a cell on the heap.
+"," (comma) is a function word that puts a cell value on the
+<<p_here,HERE>> heap.
-.Execution semantics expressed in RRQFORTH
====
====
-: ,
- HERE @ 8 ALLOT ! ( v -- ; Claim 8 bytes and put value there )
-;
+.Definition concept for ,
+****
+: , HERE @ 8 ALLOT ! ; ( v -- ; Claim 8 bytes and put value there )
+****
====
====
-
+See also <<p_colon,:>>, <<p_Ccomma>>. <<p_here,HERE>>, <<p_get,@>>,
+<<p_allot,ALLOT>>, <<p_put,!>> and <<p_semicolon,;>>.