Mirror of CollapseOS
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

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