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_tuck.adoc
diff --git
a/adoc/p_tuck.adoc
b/adoc/p_tuck.adoc
index d06a6780a17d16f102add255b3f13aa7489fccca..452d163a2ca3d576ee8b3c5e4638e7a22d5c15b0 100644
(file)
--- a/
adoc/p_tuck.adoc
+++ b/
adoc/p_tuck.adoc
@@
-1,9
+1,19
@@
+// stack.asm: WORD p_tuck, 'TUCK',fasm
+
anchor:p_tuck[]
anchor:p_tuck[]
-Word: TUCK
-----------
+=== Word: TUCK
+
+....
+Data stack ( v1 v2 -- v2 v1 v2 )
+....
-----
-stack.asm: WORD p_tuck, 'TUCK',fasm
-----
+"TUCK" is a function word that "inserts" the top cell below the second
+cell on the data stack.
+====
+.Definition concept for TUCK
+****
+: TUCK SWAP OVER ;
+****
+====