X-Git-Url: https://git.rrq.au/?a=blobdiff_plain;f=adoc%2Fp_mult.adoc;h=083321f765a441eb0725cb68d31bc85346f3f167;hb=a0aa0a5825ce306120666fd5425308a8ec9314f8;hp=5689d8a85e0d49d9af43cf3d04317f06a322f9ca;hpb=b7da3f7bbd1cb10241163abdb950472e539e796d;p=rrq%2Frrqforth.git diff --git a/adoc/p_mult.adoc b/adoc/p_mult.adoc index 5689d8a..083321f 100644 --- a/adoc/p_mult.adoc +++ b/adoc/p_mult.adoc @@ -1,9 +1,13 @@ +// math.asm: WORD p_mult, '*',fasm + anchor:p_mult[] -Word: * -------- +=== Word: * ----- -math.asm: WORD p_mult, '*',fasm ----- +.... +Data stack: ( v1 v2 -- v3 ) +.... +"*" is a function word that replaces a pair of values with the result +of multiplying them. To that end, the values are 64-bit signed +integers, and clipping the result to the least signifcant 64 bits.