LIT
2024-06-09 19:09:44 UTC
Every fig-Forth is started with a sequence:
ORIG: NOP
JMP CLD ; vector to COLD start
NOP
JMP WRM ; vector to WARM start
The problem is: nowhere neither in the source nor
in the LST file I can find any reference to ORIG+2
address -- when using symbolic notation -- neither
to that particular memory address (addressed directly).
No Forth word uses "2 +ORIGIN".
It seems that location isn't used at all -- is it correct?
If so —- why it is there? Is it left there "just in case",
on the rule: "if ever in a need to use warm-start procedure,
you'll always find its vector at ORIG+2"?
ORIG: NOP
JMP CLD ; vector to COLD start
NOP
JMP WRM ; vector to WARM start
The problem is: nowhere neither in the source nor
in the LST file I can find any reference to ORIG+2
address -- when using symbolic notation -- neither
to that particular memory address (addressed directly).
No Forth word uses "2 +ORIGIN".
It seems that location isn't used at all -- is it correct?
If so —- why it is there? Is it left there "just in case",
on the rule: "if ever in a need to use warm-start procedure,
you'll always find its vector at ORIG+2"?