adding the AGAIN control word
[rrq/rrqforth.git] / adoc / p_and.adoc
index ec2f20e40a7fc738dc258f46eb4af01903f96aef..11a3d1c1b343c47920cd6c9c2149da6625e59785 100644 (file)
@@ -1,9 +1,15 @@
+// logic.asm:  WORD p_and, 'AND',fasm
+
 anchor:p_and[]
 
-Word: AND
-----------
+=== Word: AND
+
+....
+Data stack: ( v1 v2 -- v3 )
+....
+
+"AND" is a function word that replaces a value pair with their bitwise
+conjunction; each bit is 1 if the corresponding bits of both operands
+are 1 and 0 if not.
 
-----
-logic.asm:     WORD p_and, 'AND',fasm
-----