mirror of
https://github.com/fadden/6502bench.git
synced 2024-11-29 10:50:28 +00:00
fdd2bcf847
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. |
||
---|---|---|
.. | ||
Properties | ||
Address.cs | ||
Asm65.csproj | ||
CharEncoding.cs | ||
CpuDef.cs | ||
Formatter.cs | ||
Helper.cs | ||
Label.cs | ||
Number.cs | ||
OpDef.cs | ||
OpDescription.cs | ||
OpName.cs | ||
StatusFlags.cs | ||
StringOpFormatter.cs | ||
TriState16.cs |