X-Git-Url: https://git.rrq.au/?a=blobdiff_plain;f=adoc%2Fp_2drop.adoc;h=92d1b6f9820ea6a007dd844c953ac43643c1bd78;hb=6abdd618f54acab8cb2d04f3c3ee2d0aab36eb22;hp=4d5942fdfbd6ddb8f54f643c0082e8a64ef577bd;hpb=b7da3f7bbd1cb10241163abdb950472e539e796d;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.