Mirror of CollapseOS
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

17 行
706B

  1. Defining words
  2. : x ... -- Define a new word
  3. ; R:I -- Exit a colon definition
  4. CREATE x -- Create cell named x. Doesn't allocate a PF.
  5. [COMPILE] x -- Compile word x and write it to HERE.
  6. IMMEDIATE words are *not* executed.
  7. COMPILE x -- Meta compiles. See B6.
  8. CONSTANT x n -- Creates cell x that when called pushes its
  9. value.
  10. DOES> -- See B4.
  11. IMMED? a -- f Checks whether wordref at a is immediate.
  12. IMMEDIATE -- Flag the latest defined word as immediate.
  13. LITA n -- Write address n as a literal.
  14. LITN n -- Write number n as a literal.
  15. VARIABLE c -- Creates cell x with 2 bytes allocation.