2020-04-14 10:04:09 -04:00
|
|
|
I/O
|
|
|
|
|
|
|
|
(parse) a -- n Parses string at a as a number and push the
|
|
|
|
result in n as well as whether parsing was a
|
|
|
|
success in f (false = failure, true =
|
|
|
|
success)
|
2020-05-05 15:49:50 -04:00
|
|
|
(print) a -- Print string at addr a. Stops at 0x0 or 0xd.
|
2020-04-14 10:04:09 -04:00
|
|
|
. n -- Print n in its decimal form
|
|
|
|
.x n -- Print n's LSB in hex form. Always 2
|
|
|
|
characters.
|
|
|
|
.X n -- Print n in hex form. Always 4 characters.
|
|
|
|
Numbers are never considered negative.
|
|
|
|
"-1 .X" --> ffff
|
2020-05-02 21:21:47 -04:00
|
|
|
|
|
|
|
|
2020-04-14 10:04:09 -04:00
|
|
|
(cont.)
|