Mirror of CollapseOS
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

17 lines
603B

  1. Word routines
  2. This is the description of all word routine you can encounter
  3. in this Forth implementation. That is, a wordref will always
  4. point to a memory offset containing one of these numbers.
  5. 0x17: nativeWord. This words PFA contains native binary code
  6. and is jumped to directly.
  7. 0x0e: compiledWord. This word's PFA contains an atom list and
  8. its execution is described in "EXECUTION MODEL" above.
  9. 0x0b: cellWord. This word is usually followed by a 2-byte value
  10. in its PFA. Upon execution, the *address* of the PFA is pushed
  11. to PS.
  12. (cont.)