added open-file" and load-file"
[rrq/rrqforth.git] / adoc / p_or.adoc
index ab5cbe7bc1a034cf94bdc5ddb567c64a7801adf1..7d8401f41bde51d4c15300e55cb1bea1374a4546 100644 (file)
@@ -1,9 +1,15 @@
+// logic.asm:  WORD p_or, 'OR',fasm
+
 anchor:p_or[]
 
-Word: OR
-----------
+=== Word: OR
+
+....
+Data stack: ( v1 v2 -- v3 )
+....
+
+"OR" is a function word that replaces a value pair with their bitwise
+disjunction; each bit is 1 if the corresponding bits of any operand
+is 1 and 0 if not.
 
-----
-logic.asm:     WORD p_or, 'OR',fasm
-----