projects
/
rrq
/
rrqforth.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
slight polishing
[rrq/rrqforth.git]
/
adoc
/
p_or.adoc
diff --git
a/adoc/p_or.adoc
b/adoc/p_or.adoc
index ab5cbe7bc1a034cf94bdc5ddb567c64a7801adf1..7d8401f41bde51d4c15300e55cb1bea1374a4546 100644
(file)
--- a/
adoc/p_or.adoc
+++ b/
adoc/p_or.adoc
@@
-1,9
+1,15
@@
+// logic.asm: WORD p_or, 'OR',fasm
+
anchor:p_or[]
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
-----