module
18

Type a letter at the > prompt, any numbers after it in hexadecimal separated by spaces, and ENTER. A letter with no command prints Error!.
| Command | Does | Example |
|---|---|---|
A xxxx yyyy | arithmetic: sum, difference (yyyy - xxxx) and relative-jump offset (-- if out of reach) | A 1234 0100 -> 1334 EECC -- |
C xxxx yyyy zzzz | copies xxxx-yyyy to zzzz | C 8000 80FF 9000 |
D xxxx | hexadecimal to decimal | D 003E -> 62; D 2000 -> 8192 |
F xxxx yyyy zz | fills xxxx-yyyy with zz | F 8000 80FF 23 |
H ddddd | decimal to hexadecimal | H 00246 -> 00F6 |
M xxxx | shows xxxx and its contents; type new hex and ENTER to change it, ENTER alone to move on, . to finish | M FB40, 23, . makes the prompt # |
T xxxx yyyy | tabulates memory, eight bytes a line, with the bytes as characters | T FB8C FB91 -> FB8C 30 30 30 30 34 35 000045 |
Z | the register display | A BC DE HL PC SZ-H-PNC |
T and M work on memory as your programs see it: with RAM, not the ROM, at the bottom of memory (S4).
The letters B, E, G, R, W, X and Y also have routines in FMTBL (Appendix II); this course does not use them.
This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.