SMON is provided in form of a virtual floppy disk. You have to load this floppy disk via the menu "File / Attach disk image / Unit #8". After that, you can load "S-MON" by typing:
The monitor uses the hexadecimal number system for all memory addresses and values.
After pressing ENTER, the selected address is displayed on the screen with a blinking cursor. You can enter the commands the way the disassbler shows them, e.g., "LDY #00" or "LDA 400E, Y". Pressing ENTER concludes the writing of a program line.
In case of a faulty entry, the cursor jumps back to the beginning of the line. You have to enter the command again.
If you have to specify a jump or branch forward, you can use a "marker" to label the target destination, and define the marker at a later memory location. Valid markers are M01 to M30, where the number is hexadecimal.
Example:
BCC M01
NOP
M01 LDY #01
"F" ends the program entry.
If you just want to enter a data byte, specify this with a dot, e.g., ".FF".
You do not have to specify an end address. SPACE shows the next command, RETURN continuously produces additional lines until another key is pressed. ESC ends the disassembler.
The machine code program runs until it reaches a BRK command.
Interaction is the same as for disassemble.
Shows the current value of the most important registers: program counter, status register, accumulator, X register, Y register, stack pointer, and the flags.