2020-04-15 00:04:09 +10: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
|
|
|
|
C@ a -- c Set c to byte at address a
|
2020-04-17 08:58:11 +10:00
|
|
|
C@+ a -- a+1 c Fetch c from a and inc a.
|
2020-04-15 00:04:09 +10:00
|
|
|
C! c a -- Store byte c in address a
|
|
|
|
CURRENT -- a Set a to wordref of last added entry.
|
|
|
|
CURRENT* -- a A pointer to active CURRENT*. Useful
|
|
|
|
when we have multiple active dicts.
|
2020-04-28 11:22:06 +10:00
|
|
|
FILL a n b -- Fill n bytes at addr a with val b.
|
2020-04-15 00:04:09 +10:00
|
|
|
HERE -- a Push HERE's address
|
|
|
|
H@ -- a HERE @
|
2020-04-28 11:22:06 +10:00
|
|
|
(cont.)
|