figForth Word - SWAP
Some parts of this page/site are currently incomplete & will be updated asap
Other parts will change continually so use “Refresh” in your browser !!
There is extensive use of “Tooltips” text to support learning which do
not seem to render on a Smartphone
SWAP nl n2 — n2 n1 L0
Exchange the top two values On the stack
NFA: 0026E1 84 DB 84H
0026E2 535741 DB "SWA"
0026E5 D0 DB 'P'+80H
LFA: 0026E6 D226 DW DDROP-8
CFA: 0026E8 EA26 SWAP: DW $+2
PFA: 0026EA E1 POP HL
0026EB E3 EX (SP),HL
0026EC C3 E1 20 JP HPUSH