Mirror of CollapseOS
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

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.)