major touch-up into presentable form
[rrq/rrqforth.git] / adoc / p_nip.adoc
index cc74eb73585ca2ab82e61db927ba2740b985ed96..8e1494666fca9efed6ee8b21ae0eced2bea94c05 100644 (file)
@@ -1,9 +1,20 @@
+// stack.asm:  WORD p_nip, 'NIP',fasm
+
 anchor:p_nip[]
 
-Word: NIP
-----------
+=== Word: NIP
+
+....
+Data stack: ( v1 v2 -- v2 )
+....
 
+"NIP" is a function word that discards the second of the top two cells
+on the data stack.
+
+====
+.Word: NIP
+[caption='Definition concept {counter:exec}: ']
 ----
-stack.asm:     WORD p_nip, 'NIP',fasm
+: NIP SWAP DROP ;
 ----
-
+====