mirror of
https://github.com/fadden/6502bench.git
synced 2024-08-20 11:28:58 +00:00
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. |
||
---|---|---|
.. | ||
10001-allops-value-65C02.S | ||
10001-allops-value-6502.S | ||
10002-allops-value-65816.S | ||
10010-allops-zero-6502.S | ||
10011-allops-zero-65C02.S | ||
10012-allops-zero-65816.S | ||
10022-embedded-instructions.S | ||
10032-flags-and-branches.S | ||
10042-data-recognition.S | ||
20000-numeric-types.S | ||
20010-string-types.S | ||
20020-operand-formats.S | ||
20022-operand-formats.S | ||
20030-labels-and-symbols.S | ||
20032-labels-and-symbols.S | ||
20042-address-changes.S | ||
20050-branches-and-banks.cfg | ||
20050-branches-and-banks.S | ||
20052-branches-and-banks.cfg | ||
20052-branches-and-banks.S | ||
20062-target-adjustment.S | ||
20070-hinting.S | ||
20081-label-localizer.S | ||
20090-notes-and-comments.S | ||
20102-label-dp.S | ||
20122-char-encoding.S | ||
20152-local-variables.S | ||
20162-cycle-counts-65816.S | ||
20170-external-symbols.S | ||
20182-extension-scripts.S | ||
20190-non-unique-labels.S | ||
20200-ui-edge-cases.S | ||
allops-common-65C02.S | ||
allops-common-6502.S | ||
allops-common-65816.S |