X-Git-Url: https://git.rrq.au/?a=blobdiff_plain;f=adoc%2Fp_over.adoc;h=5746eb6f0aac9cd144cc23bf7158f874acf0ec05;hb=46336a44b2da0ba4f141665e2709885b7b85d566;hp=78be2430bc9f0288e0ca744f6b3b20c81fcdd0fa;hpb=b7da3f7bbd1cb10241163abdb950472e539e796d;p=rrq%2Frrqforth.git diff --git a/adoc/p_over.adoc b/adoc/p_over.adoc index 78be243..5746eb6 100644 --- a/adoc/p_over.adoc +++ b/adoc/p_over.adoc @@ -1,9 +1,14 @@ +// stack.asm: WORD p_over, 'OVER',fasm + anchor:p_over[] -Word: OVER ----------- +=== Word: OVER + +.... +Data stack: ( v1 v2 -- v1 v2 v1 ) +.... + +"OVER" is a function word that duplicates the second top stack cell on +the data stack. ----- -stack.asm: WORD p_over, 'OVER',fasm -----