projects
/
rrq
/
rrqforth.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
another example
[rrq/rrqforth.git]
/
adoc
/
p_dup.adoc
diff --git
a/adoc/p_dup.adoc
b/adoc/p_dup.adoc
index 8f2a8c4d29597daaffe7dbaf6b172b8e074fcf40..f8ac7f181cad76d8c4417bddc8e292c838940b80 100644
(file)
--- a/
adoc/p_dup.adoc
+++ b/
adoc/p_dup.adoc
@@
-1,9
+1,12
@@
+// stack.asm: WORD p_dup, 'DUP',fasm
+
anchor:p_dup[]
anchor:p_dup[]
-Word: DUP
-----------
+=== Word: DUP
+
+....
+Data stack: ( v -- v v )
+....
-----
-stack.asm: WORD p_dup, 'DUP',fasm
-----
+"DUP" is a function word that duplicates the top stack cell.