1
0
mirror of https://github.com/fadden/6502bench.git synced 2024-12-01 22:50:35 +00:00
6502bench/SourceGen
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
..
AsmGen Add option to put labels on separate lines 2024-04-21 16:26:42 -07:00
Examples Fix bit rot in sample 2021-11-14 09:21:15 -08:00
Properties
Res Add daily tips to start screen 2021-10-16 09:15:28 -07:00
RuntimeData Additional C64 .sym65 support files (#157) 2024-04-11 18:00:02 -07:00
Sandbox Add offset to PlSymbol 2021-10-23 21:35:30 -07:00
SGTestData Add option to put labels on separate lines 2024-04-21 16:26:42 -07:00
Tests Add option to put labels on separate lines 2024-04-21 16:26:42 -07:00
Tools Add option to put labels on separate lines 2024-04-21 16:26:42 -07:00
WpfGui Add option to put labels on separate lines 2024-04-21 16:26:42 -07:00
Anattrib.cs ORG rework, part 6 2021-09-30 21:11:26 -07:00
App.config
App.xaml Improve visualization 2019-12-04 15:59:37 -08:00
App.xaml.cs Version 1.8.5 2023-05-12 15:56:43 -07:00
AppSettings.cs Add option to put labels on separate lines 2024-04-21 16:26:42 -07:00
AutoLabel.cs Label rework, part 1 2019-11-08 21:02:15 -08:00
ChangeSet.cs
CodeAnalysis.cs Fix format overwrite test 2023-05-10 10:07:15 -07:00
DailyTips.cs Correct StdInline behavior for overlapping addresses 2021-10-27 16:48:25 -07:00
DataAnalysis.cs More tweaks to def sym editing 2022-03-02 08:13:46 -08:00
DefSymbol.cs Prefer narrower project/platform symbols 2020-01-23 10:49:22 -08:00
DisasmProject.cs Fix crash in OMF converter tool 2022-04-06 14:20:11 -07:00
DisplayList.cs Add operand highlighting 2021-11-17 11:18:23 -08:00
DisplayListSelection.cs
Exporter.cs Add option to put labels on separate lines 2024-04-21 16:26:42 -07:00
ExternalFile.cs
FormatDescriptor.cs Add "uninitialized data" format type 2021-10-13 15:05:07 -07:00
FormattedOperandCache.cs
HelpAccess.cs Add warning to manual when viewed from web 2021-10-08 11:01:03 -07:00
LabelFileGenerator.cs First cut at label file generation 2024-04-20 16:37:08 -07:00
LineListGen.cs Highlight local variable uses 2021-11-25 13:53:25 -08:00
LocalVariableLookup.cs Fix various local variable de-duplication bugs 2020-01-13 18:32:56 -08:00
LocalVariableTable.cs Fix various local variable de-duplication bugs 2020-01-13 18:32:56 -08:00
MainController.cs Add option to put labels on separate lines 2024-04-21 16:26:42 -07:00
MessageList.cs ORG rework, part 6 2021-09-30 21:11:26 -07:00
MultiLineComment.cs Tweak line folding code 2019-11-01 19:47:56 -07:00
NavStack.cs ORG rework, part 9 2021-10-07 12:39:30 -07:00
PlatformSymbols.cs Allow leading whitespace in .sym65 comments 2021-10-24 14:12:45 -07:00
ProjectFile.cs Increase JSON size limit for project files 2023-01-05 08:45:26 -08:00
ProjectProperties.cs Default "smart PLP handling" to off 2020-07-24 21:38:45 -07:00
PseudoOp.cs Add "uninitialized data" format type 2021-10-13 15:05:07 -07:00
RenderAddressMap.cs ORG rework, part 9 2021-10-07 12:39:30 -07:00
RuntimeDataAccess.cs
Sgec.cs SGEC tweaks 2020-07-16 10:14:28 -07:00
SourceGen.csproj First cut at label file generation 2024-04-20 16:37:08 -07:00
Symbol.cs ORG rework, part 8 2021-10-04 20:41:19 -07:00
SymbolTable.cs Prefer narrower project/platform symbols 2020-01-23 10:49:22 -08:00
SystemDefaults.cs Optionally treat BRKs as two-byte instructions 2019-10-09 14:55:56 -07:00
SystemDefs.cs Progress toward OMF file handling 2020-06-30 08:20:12 -07:00
UndoableChange.cs More tweaks to def sym editing 2022-03-02 08:13:46 -08:00
VisBitmapAnimation.cs Progress toward wireframe animations 2020-03-08 17:05:08 -07:00
Visualization.cs Add Export feature to visualization editor 2020-06-20 17:32:57 -07:00
VisualizationSet.cs Add a progress bar to HTML export 2020-03-15 14:07:05 -07:00
VisWireframeAnimation.cs Add Atari AVG visualizer 2020-04-11 17:24:21 -07:00
WeakSymbolRef.cs
WireframeObject.cs Add Atari DVG visualizer 2021-11-02 08:54:07 -07:00
XrefSet.cs Show "ptr" for pointer use in cross-reference list 2020-09-04 13:26:41 -07:00