1
0
mirror of https://github.com/fadden/6502bench.git synced 2024-07-07 07:28:57 +00:00
6502bench/SourceGen/SGTestData/2010-target-adjustment.dis65
Andy McFadden 51081c5db0 Tweak "nearby" label finder
The code that found a nearby data target for an instruction operand
was searching backward but not forward.  We now take one step
forward, so that "LDA TABLE-1,Y" fills in automatically.

This altered 2008-address-changes, which had just this situation.
It didn't alter 2010-target-adjustment, but the existing tests were
insufficient and have been improved.
2019-10-29 18:12:22 -07:00

68 lines
2.4 KiB
Plaintext

### 6502bench SourceGen dis65 v1.0 ###
{
"_ContentVersion":2,"FileDataLength":191,"FileDataCrc32":1554487300,"ProjectProps":{
"CpuName":"65816","IncludeUndocumentedInstr":false,"TwoByteBrk":false,"EntryFlags":33489103,"AutoLabelStyle":"Simple","AnalysisParams":{
"AnalyzeUncategorizedData":true,"DefaultTextScanMode":"LowHighAscii","MinCharsForString":4,"SeekNearbyTargets":true,"SmartPlpHandling":true},
"PlatformSymbolFileIdentifiers":[],"ExtensionScriptFileIdentifiers":[],"ProjectSyms":{
}},
"AddressMap":[{
"Offset":0,"Addr":4096},
{
"Offset":133,"Addr":8192}],"TypeHints":[{
"Low":0,"High":0,"Hint":"Code"}],"StatusFlagOverrides":{
},
"Comments":{
"125":"self-ref; operand format refs nonexistent symbol"},
"LongComments":{
},
"Notes":{
},
"UserLabels":{
"0":{
"Label":"load11","Value":4096,"Source":"User","Type":"LocalOrGlobalAddr"},
"4":{
"Label":"load33","Value":4100,"Source":"User","Type":"LocalOrGlobalAddr"},
"8":{
"Label":"predat","Value":4104,"Source":"User","Type":"LocalOrGlobalAddr"},
"12":{
"Label":"dat1","Value":4108,"Source":"User","Type":"LocalOrGlobalAddr"},
"49":{
"Label":"fill0","Value":4145,"Source":"User","Type":"LocalOrGlobalAddr"},
"132":{
"Label":"dat81","Value":4228,"Source":"User","Type":"LocalOrGlobalAddr"},
"150":{
"Label":"nearby","Value":8209,"Source":"User","Type":"LocalOrGlobalAddr"}},
"OperandFormats":{
"10":{
"Length":2,"Format":"NumericLE","SubFormat":"Hex","SymbolRef":null},
"12":{
"Length":2,"Format":"NumericLE","SubFormat":"Hex","SymbolRef":null},
"14":{
"Length":2,"Format":"NumericLE","SubFormat":"Hex","SymbolRef":null},
"16":{
"Length":2,"Format":"NumericLE","SubFormat":"Hex","SymbolRef":null},
"18":{
"Length":2,"Format":"NumericLE","SubFormat":"Hex","SymbolRef":null},
"20":{
"Length":2,"Format":"NumericLE","SubFormat":"Hex","SymbolRef":null},
"43":{
"Length":2,"Format":"NumericLE","SubFormat":"Address","SymbolRef":null},
"45":{
"Length":2,"Format":"NumericLE","SubFormat":"Address","SymbolRef":null},
"47":{
"Length":2,"Format":"NumericLE","SubFormat":"Address","SymbolRef":null},
"90":{
"Length":3,"Format":"NumericLE","SubFormat":"Symbol","SymbolRef":{
"Label":"fill0","Part":"Low"}},
"93":{
"Length":3,"Format":"NumericLE","SubFormat":"Symbol","SymbolRef":{
"Label":"fill0","Part":"Low"}},
"96":{
"Length":3,"Format":"NumericLE","SubFormat":"Symbol","SymbolRef":{
"Label":"fill0","Part":"Low"}},
"125":{
"Length":3,"Format":"NumericLE","SubFormat":"Symbol","SymbolRef":{
"Label":"nonexistent","Part":"Low"}}},
"LvTables":{
}}