added strlen, strncpy and realloc
[rrq/rrqforth.git] / adoc / p_0equal.adoc
index 63980d4b338782703cb3c1ada8eb65346a2870d5..827c0f1e206857c1c65924e8c3e519a5b41a3971 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.
 
+Compare with <<p_not,NOT>>.