another example
[rrq/rrqforth.git] / adoc / p_or.adoc
1 // logic.asm:   WORD p_or, 'OR',fasm
2
3 anchor:p_or[]
4
5 === Word: OR
6
7 ....
8 Data stack: ( v1 v2 -- v3 )
9 ....
10
11 "OR" is a function word that replaces a value pair with their bitwise
12 disjunction; each bit is 1 if the corresponding bits of any operand
13 is 1 and 0 if not.
14
15