figForth Word - 2SWAP

  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


2SWAP d1 d2 — d2 d1 UTILITY Exchange the top two double numbers on the stack

NFA:    0026EF 85               DB   85H
        0026F0 32535741         DB   "2SWA"
        0026F4 D0               DB   'P'+80H
LFA:    0026F5 E126             DW   SWAP-7
CFA:    0026F7 F926      DSWAP: DW   $+2
PFA:    0026F9 D1               POP  DE
        0026FA E1               POP  HL
        0026FB FDE1             POP  IY
        0026FD E3               EX   (SP),HL
        0026FE D5               PUSH DE
        0026FF E5               PUSH HL
        002700 FDE5             PUSH IY
        002702 C3 E2 20         JP   NEXT

The Meaning of the Dictionary Fields:

NFALFACFAPFA


Updated: 22nd August 2022 by David Husband
© 2021 David Husband, a.k.a. Baremetal Engineer Extraordinaire
All Rights Reserved – All Trademarks & Copyrights Acknowledged
All personal information is subject to the Data Protection Act 2018 & the UK GDPR
“ad auxilium aliis ad auxilium sibi”