1
0
mirror of https://github.com/fadden/6502bench.git synced 2024-12-01 22:50:35 +00:00
6502bench/SourceGen/SGTestData/Source
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
..
10000-allops-value-6502.S Add W65C02S support, part 2 2020-10-10 18:34:19 -07:00
10001-allops-value-65C02.S Regression test rework, part 1 2020-06-06 14:47:19 -07:00
10002-allops-value-65816.S Regression test rework, part 1 2020-06-06 14:47:19 -07:00
10003-allops-value-W65C02.S Add W65C02S support, part 2 2020-10-10 18:34:19 -07:00
10010-allops-zero-6502.S Regression test rework, part 1 2020-06-06 14:47:19 -07:00
10011-allops-zero-65C02.S Regression test rework, part 1 2020-06-06 14:47:19 -07:00
10012-allops-zero-65816.S Regression test rework, part 1 2020-06-06 14:47:19 -07:00
10013-allops-zero-W65C02.S Add W65C02S support, part 2 2020-10-10 18:34:19 -07:00
10020-embedded-instructions.S Refactor tests 1002x and 1003x 2020-10-18 20:30:42 -07:00
10022-embedded-instructions.S Refactor tests 1002x and 1003x 2020-10-18 20:30:42 -07:00
10030-flags-and-branches.S Refactor tests 1002x and 1003x 2020-10-18 20:30:42 -07:00
10032-flags-and-branches.S Refactor tests 1002x and 1003x 2020-10-18 20:30:42 -07:00
10040-data-recognition.S Rename test 10042 2020-10-18 09:16:50 -07:00
20000-numeric-types.S Add "uninitialized data" format type 2021-10-13 15:05:07 -07:00
20010-string-types.S Fix DCI string edge case 2021-08-10 14:08:39 -07:00
20020-operand-formats.S Split 2002x-operand-formats test 2020-06-08 17:47:26 -07:00
20022-operand-formats.S Split 2002x-operand-formats test 2020-06-08 17:47:26 -07:00
20030-labels-and-symbols.S Regression test rework, part 3 2020-06-06 17:06:31 -07:00
20032-labels-and-symbols.S Regression test rework, part 2 2020-06-06 15:36:08 -07:00
20040-address-changes.S Improve handling of C64 PRG header 2020-10-17 16:45:13 -07:00
20042-address-changes.S Improve handling of C64 PRG header 2020-10-17 16:45:13 -07:00
20050-branches-and-banks.cfg Regression test rework, part 4 2020-06-06 17:30:50 -07:00
20050-branches-and-banks.S Regression test rework, part 4 2020-06-06 17:30:50 -07:00
20052-branches-and-banks.cfg Regression test rework, part 2 2020-06-06 15:36:08 -07:00
20052-branches-and-banks.S Fix 64tass code gen corner case 2021-08-09 14:11:15 -07:00
20060-target-adjustment.S Refactor 2006x-target-adjustment 2020-10-19 15:46:05 -07:00
20062-target-adjustment.S Refactor 2006x-target-adjustment 2020-10-19 15:46:05 -07:00
20070-hinting.S Regression test rework, part 2 2020-06-06 15:36:08 -07:00
20081-label-localizer.S Regression test rework, part 2 2020-06-06 15:36:08 -07:00
20090-notes-and-comments.S Regression test rework, part 2 2020-06-06 15:36:08 -07:00
20100-label-dp.S Add 20100-label-dp test 2020-10-19 16:02:28 -07:00
20102-label-dp.S Regression test rework, part 2 2020-06-06 15:36:08 -07:00
20120-char-encoding.S Fix DCI string edge case 2021-08-10 14:08:39 -07:00
20122-char-encoding.S Rework 201XX-char-encoding-X tests 2020-10-19 15:01:02 -07:00
20150-local-variables.S Clone 20152-local-variables 2020-10-19 17:14:56 -07:00
20152-local-variables.S Expand 20152-local-variables test 2021-07-20 11:28:26 -07:00
20162-cycle-counts-65816.S Regression test rework, part 2 2020-06-06 15:36:08 -07:00
20170-external-symbols.S Regression test rework, part 2 2020-06-06 15:36:08 -07:00
20172-external-symbols.S Minor fix for 24-bit MULTI_MASK 2020-11-03 11:47:53 -08:00
20182-extension-scripts.S Mark flags as indeterminate for inline BRK 2020-08-22 08:56:38 -07:00
20190-non-unique-labels.S Regression test rework, part 2 2020-06-06 15:36:08 -07:00
20200-ui-edge-cases.S Regression test rework, part 2 2020-06-06 15:36:08 -07:00
20212-reloc-data-bank2.S Update relocation data handling 2020-07-10 17:41:38 -07:00
20212-reloc-data-bank8.S Add 20212-reloc-data test 2020-07-05 17:17:44 -07:00
20212-reloc-data-filler.S Add 20212-reloc-data test 2020-07-05 17:17:44 -07:00
20212-reloc-data-lnk.S Add two options to OMF converter 2020-07-20 13:50:49 -07:00
20212-reloc-data-main.S Update relocation data handling 2020-07-10 17:41:38 -07:00
20212-reloc-data-relover.S Add 20212-reloc-data test 2020-07-05 17:17:44 -07:00
20222-data-bank.S Data Bank Register management, part 6 (of 6) 2020-07-10 15:53:43 -07:00
20233-rockwell.S Add W65C02S support, part 4 (of 4) 2020-10-11 18:43:00 -07:00
20240-large-overlay.S Fix 64tass output for non-loadable files 2021-08-01 17:21:20 -07:00
20250-nested-regions.S Implement IsRelative for cc65/merlin32 2021-10-09 10:08:14 -07:00
20252-nested-regions.S ORG rework, part 7 2021-10-02 15:43:41 -07:00
20260-pre-labels.S ORG rework, part 9 2021-10-07 12:39:30 -07:00
20270-std-inline.S Ignore project/platform symbols in StdInline 2021-10-27 20:23:34 -07:00
20280-label-placement.S Add option to put labels on separate lines 2024-04-21 16:26:42 -07:00
allops-common-65C02.S Initial file commit 2018-09-28 10:05:11 -07:00
allops-common-6502.S Initial file commit 2018-09-28 10:05:11 -07:00
allops-common-65816.S Initial file commit 2018-09-28 10:05:11 -07:00
allops-common-W65C02.S Add W65C02S support, part 2 2020-10-10 18:34:19 -07:00