split . into .TEMP rendering, then stdout writing
[rrq/rrqforth.git] / adoc / p_xor.adoc
1 // logic.asm:   WORD p_xor, 'XOR',fasm
2
3 anchor:p_xor[]
4
5 === Word: XOR
6
7 ....
8 Data stack: ( v1 v2 -- v3 )
9 ....
10
11 "XOR" is a function word that replaces a value pair with their bitwise
12 exclusion; each bit is 1 if the corresponding bits of the two operands
13 differ and 0 if not.