update
[rrq/rrqforth.git] / adoc / p_0equal.adoc
index 63980d4b338782703cb3c1ada8eb65346a2870d5..8e5379c507ca117fbd301d3502bab0731a3d7444 100644 (file)
@@ -1,9 +1,16 @@
+// logic.asm:  WORD p_0equal, '0=',fasm
+
 anchor:p_0equal[]
 
-Word: 0=
-----------
+=== Word: 0=
+
+....
+Data stack: ( v -- 0/-1 )
+....
+
 
-----
-logic.asm:     WORD p_0equal, '0=',fasm
-----
+"0=" is a function word that replaces a value with its logical
+complement; the result is zero if the value non-zero, and the result
+is non-zero if the value is zero.
 
+This is the same function as <<p_not,NOT>>.