doc fiddling
[rrq/rrqforth.git] / adoc / p_not.adoc
index 1a7003549c4e5069c240068179dd87f57c5aa56f..1582cf5eaffaf6a018dc6fe2583d8a4c9b8a8d68 100644 (file)
@@ -1,9 +1,14 @@
+// logic.asm:  WORD p_not, 'NOT',fasm
+
 anchor:p_not[]
 
-Word: NOT
-----------
+=== Word: NOT
+
+....
+Data stack: ( v1 -- v2 )
+....
 
-----
-logic.asm:     WORD p_not, 'NOT',fasm
-----
+"NOT" is a function word that replaces a value with its bitwise 
+complement; each bit is zero if non-zero, and non-zero if zero.
 
+Compare with <<p_0equal,0=>>.