1
0
mirror of https://github.com/fadden/6502bench.git synced 2024-12-01 22:50:35 +00:00
6502bench/SourceGen/SGTestData/Expected
Andy McFadden fdd2bcf847 Fix some 65816 code generation issues
Two basic problems:

(1) cc65, being a one-pass assembler, can't tell if a forward-referenced
label is 16-bit or 24-bit.  If the operand is potentially ambiguous,
such as "LDA label", we need to add an operand width disambiguator.
(The existing tests managed to only do backward references.)

(2) 64tass wants the labels on JMP/JSR absolute operands to have 24-bit
values that match the current program bank.  This is the opposite of
cc65, which requires 16-bit values.  We need to distinguish PBR vs.
DBR instructions (i.e. "LDA abs" vs. "JMP abs") and handle them
differently when formatting for "Common".

Merlin32 doesn't care, and ACME doesn't work at all, so neither of
those needed updating.

The 20052-branches-and-banks test was expanded to cover the problematic
cases.
2020-07-01 17:59:12 -07:00
..
10000-allops-value-6502_64tass.S Regression test rework, part 1 2020-06-06 14:47:19 -07:00
10000-allops-value-6502_acme.S Regression test rework, part 1 2020-06-06 14:47:19 -07:00
10000-allops-value-6502_cc65.cfg Regression test rework, part 1 2020-06-06 14:47:19 -07:00
10000-allops-value-6502_cc65.S Regression test rework, part 1 2020-06-06 14:47:19 -07:00
10000-allops-value-6502_Merlin32.S Regression test rework, part 1 2020-06-06 14:47:19 -07:00
10001-allops-value-65C02_64tass.S Regression test rework, part 1 2020-06-06 14:47:19 -07:00
10001-allops-value-65C02_acme.S Regression test rework, part 1 2020-06-06 14:47:19 -07:00
10001-allops-value-65C02_cc65.cfg Regression test rework, part 1 2020-06-06 14:47:19 -07:00
10001-allops-value-65C02_cc65.S Regression test rework, part 1 2020-06-06 14:47:19 -07:00
10001-allops-value-65C02_Merlin32.S Regression test rework, part 1 2020-06-06 14:47:19 -07:00
10002-allops-value-65816_64tass.S Regression test rework, part 1 2020-06-06 14:47:19 -07:00
10002-allops-value-65816_acme.S Regression test rework, part 1 2020-06-06 14:47:19 -07:00
10002-allops-value-65816_cc65.cfg Regression test rework, part 1 2020-06-06 14:47:19 -07:00
10002-allops-value-65816_cc65.S Regression test rework, part 1 2020-06-06 14:47:19 -07:00
10002-allops-value-65816_Merlin32.S Regression test rework, part 1 2020-06-06 14:47:19 -07:00
10010-allops-zero-6502_64tass.S Regression test rework, part 1 2020-06-06 14:47:19 -07:00
10010-allops-zero-6502_acme.S Regression test rework, part 1 2020-06-06 14:47:19 -07:00
10010-allops-zero-6502_cc65.cfg Regression test rework, part 1 2020-06-06 14:47:19 -07:00
10010-allops-zero-6502_cc65.S Regression test rework, part 1 2020-06-06 14:47:19 -07:00
10010-allops-zero-6502_Merlin32.S Regression test rework, part 1 2020-06-06 14:47:19 -07:00
10011-allops-zero-65C02_64tass.S Regression test rework, part 1 2020-06-06 14:47:19 -07:00
10011-allops-zero-65C02_acme.S Regression test rework, part 1 2020-06-06 14:47:19 -07:00
10011-allops-zero-65C02_cc65.cfg Regression test rework, part 1 2020-06-06 14:47:19 -07:00
10011-allops-zero-65C02_cc65.S Regression test rework, part 1 2020-06-06 14:47:19 -07:00
10011-allops-zero-65C02_Merlin32.S Regression test rework, part 1 2020-06-06 14:47:19 -07:00
10012-allops-zero-65816_64tass.S Regression test rework, part 1 2020-06-06 14:47:19 -07:00
10012-allops-zero-65816_acme.S Regression test rework, part 1 2020-06-06 14:47:19 -07:00
10012-allops-zero-65816_cc65.cfg Regression test rework, part 1 2020-06-06 14:47:19 -07:00
10012-allops-zero-65816_cc65.S Regression test rework, part 1 2020-06-06 14:47:19 -07:00
10012-allops-zero-65816_Merlin32.S Regression test rework, part 1 2020-06-06 14:47:19 -07:00
10022-embedded-instructions_64tass.S Regression test rework, part 1 2020-06-06 14:47:19 -07:00
10022-embedded-instructions_acme.S Regression test rework, part 1 2020-06-06 14:47:19 -07:00
10022-embedded-instructions_cc65.cfg Regression test rework, part 1 2020-06-06 14:47:19 -07:00
10022-embedded-instructions_cc65.S Regression test rework, part 1 2020-06-06 14:47:19 -07:00
10022-embedded-instructions_Merlin32.S Regression test rework, part 1 2020-06-06 14:47:19 -07:00
10032-flags-and-branches_64tass.S Regression test rework, part 1 2020-06-06 14:47:19 -07:00
10032-flags-and-branches_acme.S Regression test rework, part 1 2020-06-06 14:47:19 -07:00
10032-flags-and-branches_cc65.cfg Regression test rework, part 1 2020-06-06 14:47:19 -07:00
10032-flags-and-branches_cc65.S Regression test rework, part 1 2020-06-06 14:47:19 -07:00
10032-flags-and-branches_Merlin32.S Regression test rework, part 1 2020-06-06 14:47:19 -07:00
10042-data-recognition_64tass.S Regression test rework, part 1 2020-06-06 14:47:19 -07:00
10042-data-recognition_acme.S Regression test rework, part 1 2020-06-06 14:47:19 -07:00
10042-data-recognition_cc65.cfg Regression test rework, part 1 2020-06-06 14:47:19 -07:00
10042-data-recognition_cc65.S Regression test rework, part 1 2020-06-06 14:47:19 -07:00
10042-data-recognition_Merlin32.S Regression test rework, part 1 2020-06-06 14:47:19 -07:00
20000-numeric-types_64tass.S Regression test rework, part 1 2020-06-06 14:47:19 -07:00
20000-numeric-types_acme.S Regression test rework, part 1 2020-06-06 14:47:19 -07:00
20000-numeric-types_cc65.cfg Regression test rework, part 1 2020-06-06 14:47:19 -07:00
20000-numeric-types_cc65.S Regression test rework, part 1 2020-06-06 14:47:19 -07:00
20000-numeric-types_Merlin32.S Regression test rework, part 1 2020-06-06 14:47:19 -07:00
20010-string-types_64tass.S Regression test rework, part 2 2020-06-06 15:36:08 -07:00
20010-string-types_acme.S Regression test rework, part 2 2020-06-06 15:36:08 -07:00
20010-string-types_cc65.cfg Regression test rework, part 2 2020-06-06 15:36:08 -07:00
20010-string-types_cc65.S Regression test rework, part 2 2020-06-06 15:36:08 -07:00
20010-string-types_Merlin32.S Regression test rework, part 2 2020-06-06 15:36:08 -07:00
20020-operand-formats_64tass.S Split 2002x-operand-formats test 2020-06-08 17:47:26 -07:00
20020-operand-formats_acme.S Split 2002x-operand-formats test 2020-06-08 17:47:26 -07:00
20020-operand-formats_cc65.cfg Split 2002x-operand-formats test 2020-06-08 17:47:26 -07:00
20020-operand-formats_cc65.S Split 2002x-operand-formats test 2020-06-08 17:47:26 -07:00
20020-operand-formats_Merlin32.S Split 2002x-operand-formats test 2020-06-08 17:47:26 -07:00
20022-operand-formats_64tass.S Split 2002x-operand-formats test 2020-06-08 17:47:26 -07:00
20022-operand-formats_acme.S Split 2002x-operand-formats test 2020-06-08 17:47:26 -07:00
20022-operand-formats_cc65.cfg Split 2002x-operand-formats test 2020-06-08 17:47:26 -07:00
20022-operand-formats_cc65.S Split 2002x-operand-formats test 2020-06-08 17:47:26 -07:00
20022-operand-formats_Merlin32.S Split 2002x-operand-formats test 2020-06-08 17:47:26 -07:00
20030-labels-and-symbols_64tass.S Regression test rework, part 3 2020-06-06 17:06:31 -07:00
20030-labels-and-symbols_acme.S Regression test rework, part 3 2020-06-06 17:06:31 -07:00
20030-labels-and-symbols_cc65.cfg Regression test rework, part 3 2020-06-06 17:06:31 -07:00
20030-labels-and-symbols_cc65.S Regression test rework, part 3 2020-06-06 17:06:31 -07:00
20030-labels-and-symbols_Merlin32.S Regression test rework, part 3 2020-06-06 17:06:31 -07:00
20032-labels-and-symbols_64tass.S Regression test rework, part 2 2020-06-06 15:36:08 -07:00
20032-labels-and-symbols_acme.S Regression test rework, part 2 2020-06-06 15:36:08 -07:00
20032-labels-and-symbols_cc65.cfg Regression test rework, part 2 2020-06-06 15:36:08 -07:00
20032-labels-and-symbols_cc65.S Regression test rework, part 2 2020-06-06 15:36:08 -07:00
20032-labels-and-symbols_Merlin32.S Regression test rework, part 2 2020-06-06 15:36:08 -07:00
20042-address-changes_64tass.S Regression test rework, part 2 2020-06-06 15:36:08 -07:00
20042-address-changes_acme.S Regression test rework, part 2 2020-06-06 15:36:08 -07:00
20042-address-changes_cc65.cfg Regression test rework, part 2 2020-06-06 15:36:08 -07:00
20042-address-changes_cc65.S Regression test rework, part 2 2020-06-06 15:36:08 -07:00
20042-address-changes_Merlin32.S Regression test rework, part 2 2020-06-06 15:36:08 -07:00
20050-branches-and-banks_64tass.S Regression test rework, part 4 2020-06-06 17:30:50 -07:00
20050-branches-and-banks_acme.S Regression test rework, part 4 2020-06-06 17:30:50 -07:00
20050-branches-and-banks_cc65.cfg Regression test rework, part 4 2020-06-06 17:30:50 -07:00
20050-branches-and-banks_cc65.S Regression test rework, part 4 2020-06-06 17:30:50 -07:00
20050-branches-and-banks_Merlin32.S Regression test rework, part 4 2020-06-06 17:30:50 -07:00
20052-branches-and-banks_64tass.S Fix some 65816 code generation issues 2020-07-01 17:59:12 -07:00
20052-branches-and-banks_acme.S Fix some 65816 code generation issues 2020-07-01 17:59:12 -07:00
20052-branches-and-banks_cc65.cfg Fix some 65816 code generation issues 2020-07-01 17:59:12 -07:00
20052-branches-and-banks_cc65.S Fix some 65816 code generation issues 2020-07-01 17:59:12 -07:00
20052-branches-and-banks_Merlin32.S Fix some 65816 code generation issues 2020-07-01 17:59:12 -07:00
20062-target-adjustment_64tass.S Regression test rework, part 2 2020-06-06 15:36:08 -07:00
20062-target-adjustment_acme.S Regression test rework, part 2 2020-06-06 15:36:08 -07:00
20062-target-adjustment_cc65.cfg Regression test rework, part 2 2020-06-06 15:36:08 -07:00
20062-target-adjustment_cc65.S Regression test rework, part 2 2020-06-06 15:36:08 -07:00
20062-target-adjustment_Merlin32.S Regression test rework, part 2 2020-06-06 15:36:08 -07:00
20070-hinting_64tass.S Regression test rework, part 2 2020-06-06 15:36:08 -07:00
20070-hinting_acme.S Regression test rework, part 2 2020-06-06 15:36:08 -07:00
20070-hinting_cc65.cfg Regression test rework, part 2 2020-06-06 15:36:08 -07:00
20070-hinting_cc65.S Regression test rework, part 2 2020-06-06 15:36:08 -07:00
20070-hinting_Merlin32.S Regression test rework, part 2 2020-06-06 15:36:08 -07:00
20081-label-localizer_64tass.S Regression test rework, part 2 2020-06-06 15:36:08 -07:00
20081-label-localizer_acme.S Regression test rework, part 2 2020-06-06 15:36:08 -07:00
20081-label-localizer_cc65.cfg Regression test rework, part 2 2020-06-06 15:36:08 -07:00
20081-label-localizer_cc65.S Regression test rework, part 2 2020-06-06 15:36:08 -07:00
20081-label-localizer_Merlin32.S Regression test rework, part 2 2020-06-06 15:36:08 -07:00
20090-notes-and-comments_64tass.S Regression test rework, part 2 2020-06-06 15:36:08 -07:00
20090-notes-and-comments_acme.S Regression test rework, part 2 2020-06-06 15:36:08 -07:00
20090-notes-and-comments_cc65.cfg Regression test rework, part 2 2020-06-06 15:36:08 -07:00
20090-notes-and-comments_cc65.S Regression test rework, part 2 2020-06-06 15:36:08 -07:00
20090-notes-and-comments_Merlin32.S Regression test rework, part 2 2020-06-06 15:36:08 -07:00
20102-label-dp_64tass.S Regression test rework, part 2 2020-06-06 15:36:08 -07:00
20102-label-dp_acme.S Regression test rework, part 2 2020-06-06 15:36:08 -07:00
20102-label-dp_cc65.cfg Regression test rework, part 2 2020-06-06 15:36:08 -07:00
20102-label-dp_cc65.S Regression test rework, part 2 2020-06-06 15:36:08 -07:00
20102-label-dp_Merlin32.S Regression test rework, part 2 2020-06-06 15:36:08 -07:00
20110-64k-nops_64tass.S Regression test rework, part 2 2020-06-06 15:36:08 -07:00
20110-64k-nops_acme.S Regression test rework, part 2 2020-06-06 15:36:08 -07:00
20110-64k-nops_cc65.cfg Regression test rework, part 2 2020-06-06 15:36:08 -07:00
20110-64k-nops_cc65.S Regression test rework, part 2 2020-06-06 15:36:08 -07:00
20110-64k-nops_Merlin32.S Regression test rework, part 2 2020-06-06 15:36:08 -07:00
20122-char-encoding-a_64tass.S Regression test rework, part 2 2020-06-06 15:36:08 -07:00
20122-char-encoding-a_acme.S Regression test rework, part 2 2020-06-06 15:36:08 -07:00
20122-char-encoding-a_cc65.cfg Regression test rework, part 2 2020-06-06 15:36:08 -07:00
20122-char-encoding-a_cc65.S Regression test rework, part 2 2020-06-06 15:36:08 -07:00
20122-char-encoding-a_Merlin32.S Regression test rework, part 2 2020-06-06 15:36:08 -07:00
20132-char-encoding-p_64tass.S Regression test rework, part 2 2020-06-06 15:36:08 -07:00
20132-char-encoding-p_acme.S Regression test rework, part 2 2020-06-06 15:36:08 -07:00
20132-char-encoding-p_cc65.cfg Regression test rework, part 2 2020-06-06 15:36:08 -07:00
20132-char-encoding-p_cc65.S Regression test rework, part 2 2020-06-06 15:36:08 -07:00
20132-char-encoding-p_Merlin32.S Regression test rework, part 2 2020-06-06 15:36:08 -07:00
20142-char-encoding-s_64tass.S Regression test rework, part 2 2020-06-06 15:36:08 -07:00
20142-char-encoding-s_acme.S Regression test rework, part 2 2020-06-06 15:36:08 -07:00
20142-char-encoding-s_cc65.cfg Regression test rework, part 2 2020-06-06 15:36:08 -07:00
20142-char-encoding-s_cc65.S Regression test rework, part 2 2020-06-06 15:36:08 -07:00
20142-char-encoding-s_Merlin32.S Regression test rework, part 2 2020-06-06 15:36:08 -07:00
20152-local-variables_64tass.S Regression test rework, part 2 2020-06-06 15:36:08 -07:00
20152-local-variables_acme.S Regression test rework, part 2 2020-06-06 15:36:08 -07:00
20152-local-variables_cc65.cfg Regression test rework, part 2 2020-06-06 15:36:08 -07:00
20152-local-variables_cc65.S Regression test rework, part 2 2020-06-06 15:36:08 -07:00
20152-local-variables_Merlin32.S Regression test rework, part 2 2020-06-06 15:36:08 -07:00
20162-cycle-counts-65816_64tass.S Regression test rework, part 2 2020-06-06 15:36:08 -07:00
20162-cycle-counts-65816_acme.S Regression test rework, part 2 2020-06-06 15:36:08 -07:00
20162-cycle-counts-65816_cc65.cfg Regression test rework, part 2 2020-06-06 15:36:08 -07:00
20162-cycle-counts-65816_cc65.S Regression test rework, part 2 2020-06-06 15:36:08 -07:00
20162-cycle-counts-65816_Merlin32.S Regression test rework, part 2 2020-06-06 15:36:08 -07:00
20170-external-symbols_64tass.S Regression test rework, part 2 2020-06-06 15:36:08 -07:00
20170-external-symbols_acme.S Regression test rework, part 2 2020-06-06 15:36:08 -07:00
20170-external-symbols_cc65.cfg Regression test rework, part 2 2020-06-06 15:36:08 -07:00
20170-external-symbols_cc65.S Regression test rework, part 2 2020-06-06 15:36:08 -07:00
20170-external-symbols_Merlin32.S Regression test rework, part 2 2020-06-06 15:36:08 -07:00
20182-extension-scripts_64tass.S Regression test rework, part 2 2020-06-06 15:36:08 -07:00
20182-extension-scripts_acme.S Regression test rework, part 2 2020-06-06 15:36:08 -07:00
20182-extension-scripts_cc65.cfg Regression test rework, part 2 2020-06-06 15:36:08 -07:00
20182-extension-scripts_cc65.S Regression test rework, part 2 2020-06-06 15:36:08 -07:00
20182-extension-scripts_Merlin32.S Regression test rework, part 2 2020-06-06 15:36:08 -07:00
20190-non-unique-labels_64tass.S Regression test rework, part 2 2020-06-06 15:36:08 -07:00
20190-non-unique-labels_acme.S Regression test rework, part 2 2020-06-06 15:36:08 -07:00
20190-non-unique-labels_cc65.cfg Regression test rework, part 2 2020-06-06 15:36:08 -07:00
20190-non-unique-labels_cc65.S Regression test rework, part 2 2020-06-06 15:36:08 -07:00
20190-non-unique-labels_Merlin32.S Regression test rework, part 2 2020-06-06 15:36:08 -07:00
20200-ui-edge-cases_64tass.S Regression test rework, part 2 2020-06-06 15:36:08 -07:00
20200-ui-edge-cases_acme.S Regression test rework, part 2 2020-06-06 15:36:08 -07:00
20200-ui-edge-cases_cc65.cfg Regression test rework, part 2 2020-06-06 15:36:08 -07:00
20200-ui-edge-cases_cc65.S Regression test rework, part 2 2020-06-06 15:36:08 -07:00
20200-ui-edge-cases_Merlin32.S Regression test rework, part 2 2020-06-06 15:36:08 -07:00