1 array hextable -> '0' '1' '2' '3' '4' '5' '6' '7' '8' '9' 'A' 'B' 'C' 'D' 'E' 'F';
3 ! Fills a chunk of memory.
10 ! Copies a chunk of memory.
12 [ memcpy dest src len;
19 (--dest)->0 = (--src)->0;
25 (dest++)->0 = (src++)->0;
33 print (char) (s++)->0;
36 ! Duplicates a string.
45 ! Compares two strings.
48 while (s1->0 == s2->0)
58 ! Counts the length of a string.
67 ! Copies a string from one place to another.
71 (dest++)->0 = (src++)->0;
72 } until (src->0 == 0);
76 ! Outputs a hex number.
81 print (char) hextable->((i / 4096) & 15);
82 print (char) hextable->((i / 256) & 15);
84 print (char) hextable->((i / 16) & 15);
85 print (char) hextable->(i & 15);
88 ! Dumps some memory in hex.