X-Git-Url: https://git.rrq.au/?a=blobdiff_plain;f=adoc%2Fp_lessequal.adoc;h=9bf7f3627280ad0ad86d34f074061a97fe9ec2af;hb=656f37efbd89db1b1088281047a9633cf74e92ec;hp=781c29c2ce7babb63bed224392138b04b8cdcd09;hpb=fe4d0a01d5703d1ed6fa230679add024b5b2ca5c;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.