major touch-up into presentable form
[rrq/rrqforth.git] / adoc / p_greaterthan.adoc
index b35585936e6f439009cb778950f3ab7fedf16669..2975d00ffc2dc6a7245e1651a090931dd662ecc2 100644 (file)
@@ -1,9 +1,13 @@
+// logic.asm:  WORD p_greaterthan, '>',fasm
+
 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.