X-Git-Url: https://git.rrq.au/?a=blobdiff_plain;f=adoc%2Fp_2drop.adoc;h=92d1b6f9820ea6a007dd844c953ac43643c1bd78;hb=656f37efbd89db1b1088281047a9633cf74e92ec;hp=4d5942fdfbd6ddb8f54f643c0082e8a64ef577bd;hpb=fe4d0a01d5703d1ed6fa230679add024b5b2ca5c;p=rrq%2Frrqforth.git diff --git a/adoc/p_2drop.adoc b/adoc/p_2drop.adoc index 4d5942f..92d1b6f 100644 --- a/adoc/p_2drop.adoc +++ b/adoc/p_2drop.adoc @@ -1,9 +1,12 @@ +// stack.asm: WORD p_2drop, '2DROP',fasm + anchor:p_2drop[] -Word: 2DROP ----------- +=== Word: 2DROP ----- -stack.asm: WORD p_2drop, '2DROP',fasm ----- +.... +Data stack: ( v1 v2 -- ) +.... +"2DROP" is a function word that plainly discards the top 2 cells from +the data stack.