CFA
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. This site is best viewed via a computer’s HD monitor
CFA pfa — cfa
Convert the parameter field address of a definition to its code field address
nbvbmbv
NFA: 006A47 83 DB 83H
006A48 4346 DB "CF"
006A4A C1 DB 'A'+80H
LFA: 006A4B 396A DW LFA-6
CFA: 006A4D 3C28 CFA: DW DOCOL ; :
PFA: 006A4F C767 4B69 DW TWO,SUBB ; 2 -
006A53 1725 DW SEMIS ; ;
The Meaning of the Dictionary Fields:
CFA pfa --- cfa
Convert the parameter field address of a definition to its code field address
The Role of the Code Field Address
“A dictionary entry or a word must have a header which consists of a name field, a link field, and a code field. The body of the word is contained in the parameter field right after the code field. The header is created by the word CREATE and its derivatives, which are called defining words because they are used to create or define different classes of words. All words in the same class have the same code field address in the code fields. The code field address points to a code routine which will interpret this word when this word is to be executed. The structure of a definition as compiled in the dictionary is shown in Fig. 4.” (Ting 2013, p. 29)
References:
Ting, C. H., 2013. Systems Guide to fig-Forth [online]. 3rd ed. San Mateo, CA 94402, USA: Offete Enterprises, Inc. Available from: http://figforth.org.uk/library/Systems.Guide.to.figForth.pdf.