1
0
mirror of https://github.com/fadden/6502bench.git synced 2024-11-29 10:50:28 +00:00
6502bench/SourceGen
Andy McFadden b43fd07688 Split 2002x-operand-formats test
My original goal was to add a sign-extended decimal format, but that
turned out to be awkward.  It works for data items and instructions
with immediate operands (e.g. "LDA #-1"), but is either wrong or
useless for address operands, since most assemblers treat integers
as 32-bit values.  (LDA -1 is not LDA $FFFF, it's LDA $FFFFFFFF,
which is not useful unless your asm is doing an implicit mod.)

There's also a bit of variability in how assemblers treat negative
values, so I'm shelving the idea for now.  I'm keeping the updated
tests, which are now split into 6502 / 65816 parts.

Also, updated the formatter to output all decimal values as unsigned.
Most assemblers were fine with negative values, but 64tass .dword
insists on positive.  Rather than make the opcode conditional on the
value's range, we now just always output unsigned decimal, which
all current assemblers accept.
2020-06-08 17:47:26 -07:00
..
AsmGen Fix ACME code gen "overflow" 2020-05-14 16:37:33 -07:00
Examples
Properties
Res
RuntimeData Add Navigate > Jump to Operand 2020-06-07 16:37:41 -07:00
Sandbox
SGTestData Split 2002x-operand-formats test 2020-06-08 17:47:26 -07:00
Tests Add Navigate > Jump to Operand 2020-06-07 16:37:41 -07:00
Tools
WpfGui Add Navigate > Jump to Operand 2020-06-07 16:37:41 -07:00
Anattrib.cs Fix bug in inline JSR/JSL no-continue handling 2020-05-08 17:41:26 -07:00
App.config
App.xaml
App.xaml.cs Version 1.7.0-dev1 2020-05-15 11:26:14 -07:00
AppSettings.cs
AutoLabel.cs
ChangeSet.cs
CodeAnalysis.cs Fix bug in inline JSR/JSL no-continue handling 2020-05-08 17:41:26 -07:00
DataAnalysis.cs
DefSymbol.cs
DisasmProject.cs Show "idx" for indexed accesses in References window 2020-05-02 14:09:53 -07:00
DisplayList.cs
DisplayListSelection.cs
Exporter.cs
ExternalFile.cs
FormatDescriptor.cs
FormattedOperandCache.cs
HelpAccess.cs
LineListGen.cs
LocalVariableLookup.cs
LocalVariableTable.cs
MainController.cs Add Navigate > Jump to Operand 2020-06-07 16:37:41 -07:00
MessageList.cs
MultiLineComment.cs
NavStack.cs
PlatformSymbols.cs
ProjectFile.cs
ProjectProperties.cs
PseudoOp.cs
RuntimeDataAccess.cs
SourceGen.csproj
Symbol.cs
SymbolTable.cs
SystemDefaults.cs
SystemDefs.cs
UndoableChange.cs
VisBitmapAnimation.cs
Visualization.cs Consolidate wireframe data validation 2020-04-23 11:25:45 -07:00
VisualizationSet.cs
VisWireframeAnimation.cs
WeakSymbolRef.cs
WireframeObject.cs Consolidate wireframe data validation 2020-04-23 11:25:45 -07:00
XrefSet.cs Show "idx" for indexed accesses in References window 2020-05-02 14:09:53 -07:00