corrected example
[rrq/rrqforth.git] / adoc / p_unequal.adoc
index 2a1791dbaecbb1b344226e81bb14941e189c03ec..640c2a6f1c5cbf70b2d3a48596a4c9d1b4385992 100644 (file)
@@ -1,9 +1,12 @@
+// logic.asm:  WORD p_unequal, '!=',fasm
+
 anchor:p_unequal[]
 
-Word: !=
-----------
+=== Word: !=
 
-----
-logic.asm:     WORD p_unequal, '!=',fasm
-----
+....
+Data stack: ( v1 v2 -- 0/-1 )
+....
 
+"!=" is a function word that replaces a pair of values with -1 of the
+values are unequal, and 0 otherwise.