Posted by StevenRoy on December 31, 2001 at 08:33:09:
In Reply to: MC Monitor Question posted by sterling on December 31, 2001 at 03:41:01:
: How do you execute a program after you have assembled it? I dont see it in the commands list. For example I have this program:
: A 1400 LDA #$01
: A 1402 STA $0400
: A 1405 LDA #$0E
: A 1407 STA $0800
: A 140A BRK
: now how do I execute it? other monitors have the go command like G 1400. What about CCS64?
I think the only way to do that is to set PC register manually. The R command does that. For example: R PC 1400
Then you can exit from the monitor and the emulated processor will resume from that point.
Note that the BRK command in your example would normally execute as it would on a normal C64, acting like a "run-stop restore" instead of returning to the MC monitor. If you want to return to the monitor at a certain point, use the monitor breakpoint commands. These (and all the other monitor commands) are described in the HTML file that's included with CCS64 in the .ZIP file.
Hope this helps.