1
0
mirror of https://github.com/fadden/6502bench.git synced 2024-12-12 21:29:30 +00:00
6502bench/SourceGen/Tools/WpfGui
Andy McFadden 4322a0c231 Add option to put labels on separate lines
We currently have two options for assembly code output, selected by
a checkbox in the application settings: always put labels on the same
lines as the instruction or data operand, or split the labels onto
their own line if they were wider than the label text field.

This change adds a third option, which puts labels on their own line
whenever possible.  Assemblers don't generally allow this for variable
assignment pseudo-ops like "foo = $1000", but it's accepted for most
other situations.  This is a cosmetic change to the output, and will
not affect the generated code.

The old true/false app setting will be disregarded.  "Split if too
long" will be used by default.

Added test 20280-label-placement to exercise the "split whenever
allowed" behavior.

The "export" function has a similar option that has not been updated
(for no particular reason other than laziness).

Also, simplified the app settings GetEnum / SetEnum calls, which
can infer the enumerated type from the arguments.  This should not
impact behavior.
2024-04-21 16:26:42 -07:00
..
Apple2ScreenChart.xaml Add screen holes to Apple II text memory chart 2020-08-24 14:00:08 -07:00
Apple2ScreenChart.xaml.cs Add option to put labels on separate lines 2024-04-21 16:26:42 -07:00
AsciiChart.xaml
AsciiChart.xaml.cs Add option to put labels on separate lines 2024-04-21 16:26:42 -07:00
FileConcatenator.xaml
FileConcatenator.xaml.cs First step toward Apple IIgs OMF file handling 2020-06-23 17:21:18 -07:00
FileSlicer.xaml
FileSlicer.xaml.cs First step toward Apple IIgs OMF file handling 2020-06-23 17:21:18 -07:00
HexDumpViewer.xaml Update comments 2023-04-14 13:46:40 -07:00
HexDumpViewer.xaml.cs Add option to put labels on separate lines 2024-04-21 16:26:42 -07:00
InstructionChart.xaml Add W65C02S support, part 1 2020-10-10 15:46:34 -07:00
InstructionChart.xaml.cs Add option to put labels on separate lines 2024-04-21 16:26:42 -07:00
ShowText.xaml
ShowText.xaml.cs