Mirror of CollapseOS
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

17 lignes
748B

  1. Memory
  2. @ a -- n Set n to value at address a
  3. ! n a -- Store n in address a
  4. ? a -- Print value of addr a
  5. +! n a -- Increase value of addr a by n
  6. BIT@ b a -- f Get bit b from addr a.
  7. BIT! f b a -- Set bit b to f in addr a.
  8. C@ a -- c Set c to byte at address a
  9. C@+ a -- a+1 c Fetch c from a and inc a.
  10. C@- a -- a-1 c Fetch c from a and dec a.
  11. C! c a -- Store byte c in address a
  12. C!+ c a -- a+1 Store byte c in a and inc a.
  13. C!- c a -- a-1 Store byte c in a and dec a.
  14. CURRENT -- a Set a to wordref of last added entry.
  15. (cont.)