figForth Defining Word - VARIABLE

  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


VARIABLE E,LU A defining word used in the form: n VARIABLE cccc When VARIABLE is executed, it creates the definition cccc with its parameter field initialized to n. When cccc is later executed, the address of its parameter field (containing n) is left on the stack, so that a fetch or store may access this location

NFA:    002888 88               DB   88H
        002889 56415249 41424C  DB   "VARIABL"
        002890 C5               DB   'E'+80H
LFA:    002891 6A28             DW   CON-11
CFA:    002893 3C28        VAR: DW   DOCOL          ;   :
PFA:    002895 7528             DW   CON		;   CONSTANT
        002897 956B             DW   PSCOD		;   (;CODE)

        002899 13        DOVAR: INC  DE
        00289A D5               PUSH DE
        00289B C3 E2 20         JP   NEXT

The Meaning of the Dictionary Fields:

NFALFACFAPFA


Updated: 24th 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”