2020-04-14 10:04:09 -04:00
|
|
|
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.
|
2020-04-14 10:04:09 -04:00
|
|
|
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.
|
2020-04-14 10:04:09 -04:00
|
|
|
C! c a -- Store byte c in address a
|
2020-05-01 13:17:40 -04:00
|
|
|
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.
|
2020-04-14 10:04:09 -04:00
|
|
|
CURRENT -- a Set a to wordref of last added entry.
|
2020-04-27 21:22:06 -04:00
|
|
|
(cont.)
|