Specifications

Mini-Monitor - 1
THE CAMBASIC MINI–MONITOR
The Mini–Monitor is included in CAMBASIC primarily for those who will be combining object code (either from assembly
or “C”) programs with CAMBASIC. The command set will let you examine and edit memory, and single step using the
breakpoint feature. You enter the Mini–Monitor by typing:
>MON
While in the monitor, the prompt will change from the normal “>” to:
MON>
You can exit the monitor by typing <Q> <RET> at the monitor prompt.
MINI–MONITOR COMMAND SET
The Mini–Monitor has eleven commands. All data must be entered in hexadecimal. If too little data or an illegal command
letter is entered, the terminal will beep and you will be prompted to start again. Entering more than four hex digits for a
number produces a system error, causing you to exit the Mini–Monitor.
The parameters for the various commands require a space after the command letter and between parameters. The
Mini–Monitor cannot be used with a program line number. The command summary is below:
D – Display memory
E – Edit memory
F – Fill a block of memory
M – Math, add, subtract, multiply in Hex
Q – Quit Mini–Monitor
Display
This command is used to examine memory. When executed, it displays 8 lines of 16 bytes at a time. To display the next
128 bytes, press the space bar. To exit this command, press <RET>.
A typical display would be as follows:
0:4A90 00 00 60 83 9E 28 9D AE 00 00 20 83 29 29 A8 ..'..(.... .))..
0:4AA0 20 AE 00 00 0C 86 99 20 E9 00 0F 00 50 00 94 ...... ....P..
0:4AB0 D1 28 AE 00 00 0C 00 29 00 21 00 5A 00 81 20 (.....).!.Z.. X
0:4AC0 A7 AE 00 00 0C 00 98 AE 00 00 60 83 3A 41 A7 ..........'.:A..
0:4AD0 28 AE 00 00 60 00 29 3A 82 00 1B 00 64 00 8B ...'.):....d..
0:4AE0 D2 28 22 41 53 44 46 22 29 A8 A6 20 AE 00 00 .("ASDF").. ....
0:4AF0 87 99 20 E9 00 1A 00 78 00 8B 20 C7 28 AE 00 .. ....x.. .(...
0:4B00 64 89 29 A8 A6 20 AE 00 C0 0A 8B 99 20 E9 00 d.).. ...... ...
To display memory in segment one or higher, see the following example which will display RAM memory in segment 1,
starting at address 0.
MON>D 0 1