1
0
mirror of https://github.com/fadden/6502bench.git synced 2024-10-05 10:55:09 +00:00
6502bench/SourceGen
Andy McFadden 478afa542e Fix 64tass code gen corner case
On the 65816, if you say "JSR foo" from bank $12, but "foo" is an
address in bank 0, most assemblers will conclude that you're forming
a 16-bit argument with a 16-bit address and assemble happily.  64tass
halts with an error.  Up until v1.55 or so, you could fake it out
by supplying a large offset.

This no longer works.  The preferred way to say "no really I mean to
do this" is to append ",k" to the operand.  We now do that as needed.

I didn't want to define a new ExpressionMode for 64tass just to
support an operand modifier that should probably never actually get
generated (you can't call across banks with JSR!), so this is
implemented with a quirk and an op flag.

64tass v1.56.2625 is now the default.

(issue #104)
2021-08-09 14:11:15 -07:00
..
AsmGen Fix 64tass code gen corner case 2021-08-09 14:11:15 -07:00
Examples
Properties
Res Refine handling of C64 PRG header 2020-10-18 13:22:24 -07:00
RuntimeData Fix 64tass code gen corner case 2021-08-09 14:11:15 -07:00
Sandbox
SGTestData Fix 64tass code gen corner case 2021-08-09 14:11:15 -07:00
Tests Fix 64tass output for non-loadable files 2021-08-01 17:21:20 -07:00
Tools Rename "hints" to "analyzer tags" 2020-10-15 16:55:29 -07:00
WpfGui Rework ItemContainerGenerator StatusChanged hack 2021-08-08 17:39:21 -07:00
Anattrib.cs Rename "hints" to "analyzer tags" 2020-10-15 16:55:29 -07:00
App.config
App.xaml
App.xaml.cs Version 1.7.5-dev3 2021-08-01 20:06:01 -07:00
AppSettings.cs
AutoLabel.cs
ChangeSet.cs
CodeAnalysis.cs Warn about multi-line start/stop tags 2020-10-15 17:18:49 -07:00
DataAnalysis.cs Allow single-character DCI strings 2021-08-08 15:38:39 -07:00
DefSymbol.cs
DisasmProject.cs Refine handling of C64 PRG header 2020-10-18 13:22:24 -07:00
DisplayList.cs
DisplayListSelection.cs
Exporter.cs Change bookmark link element 2021-05-23 15:28:30 -07:00
ExternalFile.cs
FormatDescriptor.cs
FormattedOperandCache.cs
HelpAccess.cs
LineListGen.cs Refine handling of C64 PRG header 2020-10-18 13:22:24 -07:00
LocalVariableLookup.cs
LocalVariableTable.cs
MainController.cs Rework ItemContainerGenerator StatusChanged hack 2021-08-08 17:39:21 -07:00
MessageList.cs
MultiLineComment.cs
NavStack.cs
PlatformSymbols.cs Expand 20152-local-variables test 2021-07-20 11:28:26 -07:00
ProjectFile.cs Rename "hints" to "analyzer tags" 2020-10-15 16:55:29 -07:00
ProjectProperties.cs
PseudoOp.cs Fix 64tass code gen corner case 2021-08-09 14:11:15 -07:00
RuntimeDataAccess.cs
Sgec.cs
SourceGen.csproj
Symbol.cs
SymbolTable.cs
SystemDefaults.cs
SystemDefs.cs
UndoableChange.cs Rename "hints" to "analyzer tags" 2020-10-15 16:55:29 -07:00
VisBitmapAnimation.cs
Visualization.cs
VisualizationSet.cs
VisWireframeAnimation.cs
WeakSymbolRef.cs
WireframeObject.cs
XrefSet.cs