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