6502bench/CommonUtil
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
..
Properties Initial file commit 2018-09-28 10:05:11 -07:00
AddressMap.cs Add "StdInline" extension script 2021-10-16 13:19:21 -07:00
BitTwiddle.cs Documentation / comment tweaks 2021-09-11 14:12:09 -07:00
CRC32.cs Add file concatenation tool 2019-12-28 17:22:19 -08:00
CommonUtil.csproj Initial file commit 2018-09-28 10:05:11 -07:00
Container.cs Improve handling of C64 PRG header 2020-10-17 16:45:13 -07:00
DebugLog.cs Initial file commit 2018-09-28 10:05:11 -07:00
FileLoadReport.cs Initial file commit 2018-09-28 10:05:11 -07:00
FileUtil.cs Add file concatenation tool 2019-12-28 17:22:19 -08:00
Font8x8.cs Update 8x8 font used by visualizers 2021-07-27 14:22:34 -07:00
Misc.cs Add option to put labels on separate lines 2024-04-21 16:26:42 -07:00
RangeSet.cs Experiment on uncategorized data analysis 2019-04-18 15:58:43 -07:00
RawData.cs Add support for points in wireframe meshes 2020-04-11 11:23:16 -07:00
ShellCommand.cs Initial file commit 2018-09-28 10:05:11 -07:00
TaskTimer.cs Initial file commit 2018-09-28 10:05:11 -07:00
TextUtil.cs Fix trailing backslash issue 2021-11-04 15:11:59 -07:00
TypedRangeSet.cs Experiment on uncategorized data analysis 2019-04-18 15:58:43 -07:00
UnpackedGif.cs Fix transparency in C64 visualizer 2023-02-14 14:03:38 -08:00
Version.cs Allow explicit widths in project/platform symbols, part 3 2019-10-02 16:50:15 -07:00