projects
/
rrq
/
rrqforth.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
reset to interacting state on error
[rrq/rrqforth.git]
/
adoc
/
p_2drop.adoc
diff --git
a/adoc/p_2drop.adoc
b/adoc/p_2drop.adoc
index 4d5942fdfbd6ddb8f54f643c0082e8a64ef577bd..92d1b6f9820ea6a007dd844c953ac43643c1bd78 100644
(file)
--- a/
adoc/p_2drop.adoc
+++ b/
adoc/p_2drop.adoc
@@
-1,9
+1,12
@@
+// stack.asm: WORD p_2drop, '2DROP',fasm
+
anchor:p_2drop[]
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.