mirror of
https://github.com/hsoft/collapseos.git
synced 2024-12-26 04:38:06 +11:00
17 lines
652 B
Plaintext
17 lines
652 B
Plaintext
2. Immediate words that have been cross compiled *cannot* be
|
|
used. Only immediates from the host system can be used.
|
|
3. If an immediate word compiles words, it can only be words
|
|
that are part of the stable ABI.
|
|
|
|
All of this is because when cross compiling, all atom ref-
|
|
erences are offsetted to the target system and are thus
|
|
unusable directly. For the same reason, any reference to a word
|
|
in the host system will obviously be wrong in the target
|
|
system. More details in B260.
|
|
|
|
These rules result in some practicals do's and dont's:
|
|
|
|
1. IF, UNTIL, AGAIN are fine, but *not* LOOP.
|
|
|
|
(cont.)
|