X-Git-Url: https://git.rrq.au/?a=blobdiff_plain;f=adoc%2Fp_lessequal.adoc;h=9bf7f3627280ad0ad86d34f074061a97fe9ec2af;hb=d5613f1ba2ae4065d60df8e768027f437f740a7f;hp=781c29c2ce7babb63bed224392138b04b8cdcd09;hpb=b7da3f7bbd1cb10241163abdb950472e539e796d;p=rrq%2Frrqforth.git diff --git a/adoc/p_lessequal.adoc b/adoc/p_lessequal.adoc index 781c29c..9bf7f36 100644 --- a/adoc/p_lessequal.adoc +++ b/adoc/p_lessequal.adoc @@ -1,9 +1,13 @@ +// logic.asm: WORD p_lessequal, '<=',fasm + anchor:p_lessequal[] -Word: <= ----------- +=== Word: \<= ----- -logic.asm: WORD p_lessequal, '<=',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 or equal to the second, v1, otherwise 0. To +that end, the values are 64-bit signed integers.