another example
[rrq/rrqforth.git] / adoc / p_pick.adoc
1 // stack.asm:   WORD p_pick, 'PICK',fasm
2
3 anchor:p_pick[]
4
5 === Word: PICK
6
7 ....
8 Data stack: ( vu...v1 v0 u -- vu...v1 v0 vu )
9 ....
10
11 "PICK" is a function word that pushes the u:th data stack cell down
12 from top onto the data stack. 0 indicates the top cell making it the
13 same as <<p_dup,DUP>>, and 1 indicates the second top cell making it
14 the same as <<p_over,OVER>>.
15
16