Hello all,
I have a newbie question. I made a very simple program (for next loop) to learn the openMSX debugger. However I cannot figure out how to set a breakpoint at the very start of the program, so that I can step through code.
The way I have it now is that the debugger shows me a "frozen" state when the program has reached "halt" command. But that is too late. I'd like to have a breakpoint at the very start (label 'Execute') and step through code from there, like I can with Champ. Is that possible? I use vasm as assembler.
org &4000 db "AB" dw Execute dw 0, 0, 0, 0, 0, 0 RomSize equ &4000 Execute: ld a, &0a NextI: ld (varI), a dec a jr nz, NextI Finished: ; ret di halt varI: db 0 ProgEnd: ds &4000 + RomSize - ProgEnd, 255
Login sesión o register para postear comentarios