projects
/
rrq
/
rrqforth.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
no "continue" in bp 7 commands
[rrq/rrqforth.git]
/
adoc
/
p_and.adoc
diff --git
a/adoc/p_and.adoc
b/adoc/p_and.adoc
index ec2f20e40a7fc738dc258f46eb4af01903f96aef..11a3d1c1b343c47920cd6c9c2149da6625e59785 100644
(file)
--- a/
adoc/p_and.adoc
+++ b/
adoc/p_and.adoc
@@
-1,9
+1,15
@@
+// logic.asm: WORD p_and, 'AND',fasm
+
anchor:p_and[]
anchor:p_and[]
-Word: AND
-----------
+=== Word: AND
+
+....
+Data stack: ( v1 v2 -- v3 )
+....
+
+"AND" is a function word that replaces a value pair with their bitwise
+conjunction; each bit is 1 if the corresponding bits of both operands
+are 1 and 0 if not.
-----
-logic.asm: WORD p_and, 'AND',fasm
-----