projects
/
rrq
/
rrqforth.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bug fix to use stream
[rrq/rrqforth.git]
/
adoc
/
p_xor.adoc
diff --git
a/adoc/p_xor.adoc
b/adoc/p_xor.adoc
index 04f763ae708055901d7b913ba4381e1c0239ce48..5c8b6378f2e1385916c7bfb71b47ead6b36f1b00 100644
(file)
--- a/
adoc/p_xor.adoc
+++ b/
adoc/p_xor.adoc
@@
-1,9
+1,13
@@
+// logic.asm: WORD p_xor, 'XOR',fasm
+
anchor:p_xor[]
anchor:p_xor[]
-Word: XOR
-----------
+=== Word: XOR
-----
-logic.asm: WORD p_xor, 'XOR',fasm
-----
+....
+Data stack: ( v1 v2 -- v3 )
+....
+"XOR" is a function word that replaces a value pair with their bitwise
+exclusion; each bit is 1 if the corresponding bits of the two operands
+differ and 0 if not.