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