collapseos/blk/050

17 lines
748 B
Plaintext
Raw Normal View History

Memory
@ a -- n Set n to value at address a
! n a -- Store n in address a
? a -- Print value of addr a
+! n a -- Increase value of addr a by n
2020-05-10 08:40:49 -04:00
BIT@ b a -- f Get bit b from addr a.
BIT! f b a -- Set bit b to f in addr a.
C@ a -- c Set c to byte at address a
2020-04-16 18:58:11 -04:00
C@+ a -- a+1 c Fetch c from a and inc a.
2020-05-06 20:37:08 -04:00
C@- a -- a-1 c Fetch c from a and dec a.
C! c a -- Store byte c in address a
C!+ c a -- a+1 Store byte c in a and inc a.
2020-05-06 20:37:08 -04:00
C!- c a -- a-1 Store byte c in a and dec a.
CURRENT -- a Set a to wordref of last added entry.
2020-04-27 21:22:06 -04:00
(cont.)