figForth Word - (;CODE)
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
(;CODE) C
The run-time procedure, compiled by ;CODE that rewrites the code
field of the most recently defined word to point to the following
machine code sequence
See ;CODE - fragment below in Fig #2
NFA: 006B8B 87 DB 87H
006B8C 283B434F 4445 DB "(;CODE"
006B92 A9 DB ')'+80H
LFA: 006B93 786B DW BIN-9
CFA: 006B95 3C28 PSCOD: DW DOCOL
PFA: 006B97 C925 DW FROMR ; R>
006B99 2F6A DW LATES ; LATEST
006B9B 6D6A 4D6A DW PFA,CFA ; PFA CFA
006B9F F027 DW STORE ; !
006BA1 1725 DW SEMIS
Fig #1 The “run-time” Forth code compiled by ;CODE
This is one of figForth’s most fundamental and important “run-time” code defining words and is used by the COLON Compiler. _Discussion
NFA: 006BA3 C5 DB 0C5H
006BA4 3B434F44 DB ";COD"
006BA8 C5 DB 'E'+80H
LFA: 006BA9 8B6B DW PSCOD-10
CFA: 006BAB 3C28 SEMIC: DW DOCOL
PFA: 006BAD EF6A DW QCSP ; ?CSP
006BAF 0B6B DW COMP ; COMPILE
006BB1 956B DW PSCOD ; (;CODE)
006BB3 236B DW LBRAC ; [
006BB5 6528 DW NOOP ; NOOP (patch with assembler voc)
006BB7 1725 DW SEMIS
Fig #2 A fragment from ;CODE