upgrade
[rrq/rrqforth.git] / adoc / p_swap.adoc
1 // stack.asm:   WORD p_swap, 'SWAP',fasm
2
3 anchor:p_swap[]
4
5 === Word: SWAP
6
7 ....
8 Data stack: ( v1 v2 -- v2 v1 )
9 ....
10
11 "SWAP" is a function word the swaps the top two data stack cells.