major touch-up into presentable form
[rrq/rrqforth.git] / adoc / p_swap.adoc
index 981bde753e76591665b31a75f3be5c3c66047c31..f2e27c758088205bfb959b3de341ad7035306f85 100644 (file)
@@ -1,9 +1,11 @@
+// stack.asm:  WORD p_swap, 'SWAP',fasm
+
 anchor:p_swap[]
 
-Word: SWAP
-----------
+=== Word: SWAP
 
-----
-stack.asm:     WORD p_swap, 'SWAP',fasm
-----
+....
+Data stack: ( v1 v2 -- v2 v1 )
+....
 
+"SWAP" is a function word the swaps the top two data stack cells.