various fixes to cross refs
[rrq/rrqforth.git] / adoc / p_tuck.adoc
index d06a6780a17d16f102add255b3f13aa7489fccca..965f0d3c73d993849cadd6972c7a45c6a92533ca 100644 (file)
@@ -1,9 +1,20 @@
+// stack.asm:  WORD p_tuck, 'TUCK',fasm
+
 anchor:p_tuck[]
 
-Word: TUCK
-----------
+=== Word: TUCK
+
+....
+Data stack ( v1 v2 -- v2 v1 v2 )
+....
 
+"TUCK" is a function word that "inserts" the top cell below the second
+cell on the data stack.
+
+====
+.Word: TUCK
+[caption='Definition concept {counter:exec}: ']
 ----
-stack.asm:     WORD p_tuck, 'TUCK',fasm
+: TUCK SWAP OVER ;
 ----
-
+====