projects
/
rrq
/
rrqforth.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
another example
[rrq/rrqforth.git]
/
adoc
/
p_greaterthan.adoc
diff --git
a/adoc/p_greaterthan.adoc
b/adoc/p_greaterthan.adoc
index b35585936e6f439009cb778950f3ab7fedf16669..2975d00ffc2dc6a7245e1651a090931dd662ecc2 100644
(file)
--- a/
adoc/p_greaterthan.adoc
+++ b/
adoc/p_greaterthan.adoc
@@
-1,9
+1,13
@@
+// logic.asm: WORD p_greaterthan, '>',fasm
+
anchor:p_greaterthan[]
anchor:p_greaterthan[]
-Word: >
--------
+=== Word: >
-----
-logic.asm: WORD p_greaterthan, '>',fasm
-----
+....
+Data stack: ( v1 v2 -- 0/-1 )
+....
+">" is a function word that replaces a pair of values with -1 if the
+first, v1, is greater than the second, v1, otherwise 0. To that end,
+the values are 64-bit signed integers.