no longer add nops around breakpoint for vice

This commit is contained in:
Irmen de Jong 2022-01-17 22:12:38 +01:00
parent d916027e75
commit 72640ae058
3 changed files with 8 additions and 8 deletions

View File

@ -1622,12 +1622,7 @@ $repeatLabel lda $counterVar
"%breakpoint" -> { "%breakpoint" -> {
val label = "_prog8_breakpoint_${breakpointLabels.size+1}" val label = "_prog8_breakpoint_${breakpointLabels.size+1}"
breakpointLabels.add(label) breakpointLabels.add(label)
out(label)
// TODO still need 2 nops to make 64tass generate correc breakpoint list for vice???
out("""
nop
$label nop""")
} }
} }
} }

View File

@ -3,7 +3,7 @@ TODO
For next compiler release (7.7) For next compiler release (7.7)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
check AsmGen translate(stmt: Directive) breakpoint nop issue ...
Need help with Need help with

View File

@ -10,7 +10,12 @@ foo_bar:
sub start() { sub start() {
txt.print(myBar) txt.print(myBar)
txt.print(&foo_bar)
%breakpoint
txt.print_uwhex(&foo_bar, true)
%breakpoint
return return
} }
} }