1
0
mirror of https://github.com/fadden/6502bench.git synced 2024-11-26 06:49:19 +00:00
6502bench/SourceGen/SGTestData/2007-labels-and-symbols.dis65
Andy McFadden 61914c8f79 Progress toward 64tass expression support
Gave cc65 its own expression generator, as the precedence table seems
atypical if not unique.  Configured 64tass to use the "simple"
expression mode.

Added some operations on a 32-bit constant to 2007-labels-and-symbols
to exercise the current worst-case expression (shift + AND + add).
Tweaked the Merlin expression generator to handle it.

(issue #16)
2018-10-24 13:17:03 -07:00

407 lines
15 KiB
Plaintext

### 6502bench SourceGen dis65 v1.0 ###
{
"_ContentVersion":1,"FileDataLength":695,"FileDataCrc32":1242388944,"ProjectProps":{
"CpuName":"65816","IncludeUndocumentedInstr":false,"EntryFlags":33489103,"AnalysisParams":{
"AnalyzeUncategorizedData":true,"MinCharsForString":4,"SeekNearbyTargets":true},
"PlatformSymbolFileIdentifiers":["PROJ:2007-labels-and-symbols.sym65","RT:TestData/TestSyms.sym65"],"ExtensionScriptFileIdentifiers":[],"ProjectSyms":{
"nextchunk":{
"DataDescriptor":{
"Length":1,"Format":"NumericLE","SubFormat":"Decimal","SymbolRef":null},
"Comment":"should be replaced by user label","Label":"nextchunk","Value":50,"Source":"Project","Type":"ExternalAddr"},
"projalsa":{
"DataDescriptor":{
"Length":1,"Format":"NumericLE","SubFormat":"Hex","SymbolRef":null},
"Comment":"same val as projalso","Label":"projalsa","Value":12800,"Source":"Project","Type":"ExternalAddr"},
"projalsz":{
"DataDescriptor":{
"Length":1,"Format":"NumericLE","SubFormat":"Hex","SymbolRef":null},
"Comment":"same val as projalso","Label":"projalsz","Value":12800,"Source":"Project","Type":"ExternalAddr"},
"projover":{
"DataDescriptor":{
"Length":1,"Format":"NumericLE","SubFormat":"Hex","SymbolRef":null},
"Comment":"replaces platform symbol","Label":"projover","Value":16384,"Source":"Project","Type":"ExternalAddr"},
"thirty2":{
"DataDescriptor":{
"Length":1,"Format":"NumericLE","SubFormat":"Hex","SymbolRef":null},
"Comment":"32-bit constant test","Label":"thirty2","Value":305419896,"Source":"Project","Type":"Constant"}}},
"AddressMap":[{
"Offset":0,"Addr":74565},
{
"Offset":279,"Addr":4096}],"TypeHints":[{
"Low":0,"High":0,"Hint":"Code"}],"StatusFlagOverrides":{
},
"Comments":{
"397":"bulky","509":"stringy"},
"LongComments":{
"-2147483647":{
"Text":"Project was edited to add a label in the middle of a dense hex region, and add a duplicate label.","BoxMode":false,"MaxWidth":80,"BackgroundColor":0}},
"Notes":{
},
"UserLabels":{
"0":{
"Label":"start","Value":74565,"Source":"User","Type":"LocalOrGlobalAddr"},
"254":{
"Label":"skipdata","Value":74819,"Source":"User","Type":"LocalOrGlobalAddr"},
"275":{
"Label":"nextchunk","Value":74840,"Source":"User","Type":"LocalOrGlobalAddr"},
"280":{
"Label":"L1000","Value":4097,"Source":"User","Type":"LocalOrGlobalAddr"},
"281":{
"Label":"L1000_0","Value":4098,"Source":"User","Type":"LocalOrGlobalAddr"},
"282":{
"Label":"l1000","Value":4099,"Source":"User","Type":"LocalOrGlobalAddr"},
"299":{
"Label":"targ","Value":4116,"Source":"User","Type":"LocalOrGlobalAddr"},
"397":{
"Label":"bulk","Value":4214,"Source":"User","Type":"LocalOrGlobalAddr"},
"509":{
"Label":"string","Value":4326,"Source":"User","Type":"LocalOrGlobalAddr"},
"355":{
"Label":"calls","Value":4172,"Source":"User","Type":"LocalOrGlobalAddr"},
"358":{
"Label":"calls","Value":4175,"Source":"User","Type":"LocalOrGlobalAddr"},
"410":{
"Label":"badmid","Value":4227,"Source":"User","Type":"LocalOrGlobalAddr"},
"362":{
"Label":"badmidi","Value":4179,"Source":"User","Type":"LocalOrGlobalAddr"}},
"OperandFormats":{
"4":{
"Length":2,"Format":"NumericLE","SubFormat":"Symbol","SymbolRef":{
"Label":"zip","Part":"Low"}},
"6":{
"Length":2,"Format":"NumericLE","SubFormat":"Symbol","SymbolRef":{
"Label":"zip","Part":"Low"}},
"8":{
"Length":2,"Format":"NumericLE","SubFormat":"Symbol","SymbolRef":{
"Label":"zip","Part":"Low"}},
"10":{
"Length":2,"Format":"NumericLE","SubFormat":"Symbol","SymbolRef":{
"Label":"absh","Part":"Low"}},
"12":{
"Length":2,"Format":"NumericLE","SubFormat":"Symbol","SymbolRef":{
"Label":"absh","Part":"High"}},
"14":{
"Length":2,"Format":"NumericLE","SubFormat":"Symbol","SymbolRef":{
"Label":"absh","Part":"Low"}},
"16":{
"Length":2,"Format":"NumericLE","SubFormat":"Symbol","SymbolRef":{
"Label":"absh","Part":"High"}},
"18":{
"Length":2,"Format":"NumericLE","SubFormat":"Symbol","SymbolRef":{
"Label":"absl","Part":"Low"}},
"20":{
"Length":2,"Format":"NumericLE","SubFormat":"Symbol","SymbolRef":{
"Label":"absl","Part":"High"}},
"22":{
"Length":2,"Format":"NumericLE","SubFormat":"Symbol","SymbolRef":{
"Label":"absl","Part":"Low"}},
"24":{
"Length":2,"Format":"NumericLE","SubFormat":"Symbol","SymbolRef":{
"Label":"absl","Part":"High"}},
"26":{
"Length":2,"Format":"NumericLE","SubFormat":"Symbol","SymbolRef":{
"Label":"start","Part":"Low"}},
"28":{
"Length":2,"Format":"NumericLE","SubFormat":"Symbol","SymbolRef":{
"Label":"start","Part":"High"}},
"30":{
"Length":2,"Format":"NumericLE","SubFormat":"Symbol","SymbolRef":{
"Label":"start","Part":"Bank"}},
"47":{
"Length":3,"Format":"NumericLE","SubFormat":"Symbol","SymbolRef":{
"Label":"absh","Part":"Low"}},
"50":{
"Length":3,"Format":"NumericLE","SubFormat":"Symbol","SymbolRef":{
"Label":"start","Part":"Low"}},
"53":{
"Length":3,"Format":"NumericLE","SubFormat":"Symbol","SymbolRef":{
"Label":"start","Part":"Bank"}},
"56":{
"Length":3,"Format":"NumericLE","SubFormat":"Symbol","SymbolRef":{
"Label":"biggie","Part":"Low"}},
"59":{
"Length":3,"Format":"NumericLE","SubFormat":"Symbol","SymbolRef":{
"Label":"biggie","Part":"Bank"}},
"62":{
"Length":2,"Format":"NumericLE","SubFormat":"Symbol","SymbolRef":{
"Label":"zip","Part":"Low"}},
"64":{
"Length":3,"Format":"NumericLE","SubFormat":"Symbol","SymbolRef":{
"Label":"zip","Part":"Low"}},
"67":{
"Length":4,"Format":"NumericLE","SubFormat":"Symbol","SymbolRef":{
"Label":"zip","Part":"Low"}},
"71":{
"Length":3,"Format":"NumericLE","SubFormat":"Symbol","SymbolRef":{
"Label":"absh","Part":"Low"}},
"74":{
"Length":4,"Format":"NumericLE","SubFormat":"Symbol","SymbolRef":{
"Label":"absh","Part":"Low"}},
"78":{
"Length":3,"Format":"NumericLE","SubFormat":"Symbol","SymbolRef":{
"Label":"absh","Part":"Low"}},
"81":{
"Length":4,"Format":"NumericLE","SubFormat":"Symbol","SymbolRef":{
"Label":"absh","Part":"Low"}},
"85":{
"Length":3,"Format":"NumericLE","SubFormat":"Symbol","SymbolRef":{
"Label":"start","Part":"Low"}},
"88":{
"Length":4,"Format":"NumericLE","SubFormat":"Symbol","SymbolRef":{
"Label":"start","Part":"Low"}},
"92":{
"Length":3,"Format":"NumericLE","SubFormat":"Symbol","SymbolRef":{
"Label":"start","Part":"Low"}},
"95":{
"Length":4,"Format":"NumericLE","SubFormat":"Symbol","SymbolRef":{
"Label":"start","Part":"Low"}},
"99":{
"Length":3,"Format":"NumericLE","SubFormat":"Symbol","SymbolRef":{
"Label":"biggie","Part":"Low"}},
"102":{
"Length":4,"Format":"NumericLE","SubFormat":"Symbol","SymbolRef":{
"Label":"biggie","Part":"Low"}},
"106":{
"Length":3,"Format":"NumericLE","SubFormat":"Symbol","SymbolRef":{
"Label":"biggie","Part":"Low"}},
"109":{
"Length":4,"Format":"NumericLE","SubFormat":"Symbol","SymbolRef":{
"Label":"biggie","Part":"Low"}},
"115":{
"Length":3,"Format":"NumericLE","SubFormat":"Symbol","SymbolRef":{
"Label":"zip","Part":"Low"}},
"118":{
"Length":3,"Format":"NumericLE","SubFormat":"Symbol","SymbolRef":{
"Label":"zip","Part":"Low"}},
"121":{
"Length":3,"Format":"NumericLE","SubFormat":"Symbol","SymbolRef":{
"Label":"zip","Part":"Low"}},
"124":{
"Length":3,"Format":"NumericLE","SubFormat":"Symbol","SymbolRef":{
"Label":"absl","Part":"Low"}},
"127":{
"Length":3,"Format":"NumericLE","SubFormat":"Symbol","SymbolRef":{
"Label":"absl","Part":"High"}},
"130":{
"Length":3,"Format":"NumericLE","SubFormat":"Symbol","SymbolRef":{
"Label":"absl","Part":"Low"}},
"133":{
"Length":3,"Format":"NumericLE","SubFormat":"Symbol","SymbolRef":{
"Label":"absl","Part":"High"}},
"136":{
"Length":3,"Format":"NumericLE","SubFormat":"Symbol","SymbolRef":{
"Label":"absl","Part":"Bank"}},
"139":{
"Length":3,"Format":"NumericLE","SubFormat":"Symbol","SymbolRef":{
"Label":"absh","Part":"Low"}},
"142":{
"Length":3,"Format":"NumericLE","SubFormat":"Symbol","SymbolRef":{
"Label":"absh","Part":"High"}},
"145":{
"Length":3,"Format":"NumericLE","SubFormat":"Symbol","SymbolRef":{
"Label":"absh","Part":"Low"}},
"148":{
"Length":3,"Format":"NumericLE","SubFormat":"Symbol","SymbolRef":{
"Label":"absh","Part":"High"}},
"151":{
"Length":3,"Format":"NumericLE","SubFormat":"Symbol","SymbolRef":{
"Label":"absh","Part":"Bank"}},
"154":{
"Length":3,"Format":"NumericLE","SubFormat":"Symbol","SymbolRef":{
"Label":"start","Part":"Low"}},
"157":{
"Length":3,"Format":"NumericLE","SubFormat":"Symbol","SymbolRef":{
"Label":"start","Part":"High"}},
"160":{
"Length":3,"Format":"NumericLE","SubFormat":"Symbol","SymbolRef":{
"Label":"start","Part":"Bank"}},
"163":{
"Length":3,"Format":"NumericLE","SubFormat":"Symbol","SymbolRef":{
"Label":"biggie","Part":"Low"}},
"166":{
"Length":3,"Format":"NumericLE","SubFormat":"Symbol","SymbolRef":{
"Label":"biggie","Part":"High"}},
"169":{
"Length":3,"Format":"NumericLE","SubFormat":"Symbol","SymbolRef":{
"Label":"biggie","Part":"Bank"}},
"174":{
"Length":1,"Format":"NumericLE","SubFormat":"Symbol","SymbolRef":{
"Label":"zip","Part":"Low"}},
"175":{
"Length":1,"Format":"NumericLE","SubFormat":"Symbol","SymbolRef":{
"Label":"absh","Part":"Low"}},
"176":{
"Length":1,"Format":"NumericLE","SubFormat":"Symbol","SymbolRef":{
"Label":"absh","Part":"High"}},
"177":{
"Length":1,"Format":"NumericLE","SubFormat":"Symbol","SymbolRef":{
"Label":"start","Part":"Low"}},
"178":{
"Length":1,"Format":"NumericLE","SubFormat":"Symbol","SymbolRef":{
"Label":"start","Part":"High"}},
"179":{
"Length":1,"Format":"NumericLE","SubFormat":"Symbol","SymbolRef":{
"Label":"start","Part":"Bank"}},
"180":{
"Length":2,"Format":"NumericLE","SubFormat":"Symbol","SymbolRef":{
"Label":"zip","Part":"Low"}},
"182":{
"Length":2,"Format":"NumericLE","SubFormat":"Symbol","SymbolRef":{
"Label":"absl","Part":"Low"}},
"184":{
"Length":2,"Format":"NumericLE","SubFormat":"Symbol","SymbolRef":{
"Label":"absl","Part":"High"}},
"186":{
"Length":2,"Format":"NumericLE","SubFormat":"Symbol","SymbolRef":{
"Label":"absl","Part":"Low"}},
"188":{
"Length":2,"Format":"NumericLE","SubFormat":"Symbol","SymbolRef":{
"Label":"absl","Part":"High"}},
"190":{
"Length":2,"Format":"NumericLE","SubFormat":"Symbol","SymbolRef":{
"Label":"absh","Part":"Low"}},
"192":{
"Length":2,"Format":"NumericLE","SubFormat":"Symbol","SymbolRef":{
"Label":"absh","Part":"High"}},
"194":{
"Length":2,"Format":"NumericLE","SubFormat":"Symbol","SymbolRef":{
"Label":"absh","Part":"Low"}},
"196":{
"Length":2,"Format":"NumericLE","SubFormat":"Symbol","SymbolRef":{
"Label":"absh","Part":"High"}},
"198":{
"Length":2,"Format":"NumericLE","SubFormat":"Symbol","SymbolRef":{
"Label":"start","Part":"Low"}},
"200":{
"Length":2,"Format":"NumericLE","SubFormat":"Symbol","SymbolRef":{
"Label":"start","Part":"High"}},
"202":{
"Length":2,"Format":"NumericLE","SubFormat":"Symbol","SymbolRef":{
"Label":"start","Part":"Bank"}},
"204":{
"Length":2,"Format":"NumericLE","SubFormat":"Symbol","SymbolRef":{
"Label":"start","Part":"Low"}},
"206":{
"Length":2,"Format":"NumericLE","SubFormat":"Symbol","SymbolRef":{
"Label":"start","Part":"High"}},
"208":{
"Length":2,"Format":"NumericLE","SubFormat":"Symbol","SymbolRef":{
"Label":"start","Part":"Bank"}},
"210":{
"Length":2,"Format":"NumericBE","SubFormat":"Symbol","SymbolRef":{
"Label":"absh","Part":"Low"}},
"212":{
"Length":3,"Format":"NumericLE","SubFormat":"Symbol","SymbolRef":{
"Label":"zip","Part":"Low"}},
"215":{
"Length":3,"Format":"NumericLE","SubFormat":"Symbol","SymbolRef":{
"Label":"absh","Part":"Low"}},
"218":{
"Length":3,"Format":"NumericLE","SubFormat":"Symbol","SymbolRef":{
"Label":"absh","Part":"High"}},
"221":{
"Length":3,"Format":"NumericLE","SubFormat":"Symbol","SymbolRef":{
"Label":"start","Part":"Low"}},
"224":{
"Length":3,"Format":"NumericLE","SubFormat":"Symbol","SymbolRef":{
"Label":"start","Part":"High"}},
"227":{
"Length":3,"Format":"NumericLE","SubFormat":"Symbol","SymbolRef":{
"Label":"start","Part":"Bank"}},
"230":{
"Length":4,"Format":"NumericLE","SubFormat":"Symbol","SymbolRef":{
"Label":"zip","Part":"Low"}},
"234":{
"Length":4,"Format":"NumericLE","SubFormat":"Symbol","SymbolRef":{
"Label":"absh","Part":"Low"}},
"238":{
"Length":4,"Format":"NumericLE","SubFormat":"Symbol","SymbolRef":{
"Label":"absh","Part":"High"}},
"242":{
"Length":4,"Format":"NumericLE","SubFormat":"Symbol","SymbolRef":{
"Label":"start","Part":"Low"}},
"246":{
"Length":4,"Format":"NumericLE","SubFormat":"Symbol","SymbolRef":{
"Label":"start","Part":"High"}},
"250":{
"Length":4,"Format":"NumericLE","SubFormat":"Symbol","SymbolRef":{
"Label":"start","Part":"Bank"}},
"254":{
"Length":3,"Format":"NumericLE","SubFormat":"Symbol","SymbolRef":{
"Label":"biggie","Part":"Bank"}},
"257":{
"Length":3,"Format":"NumericLE","SubFormat":"Symbol","SymbolRef":{
"Label":"biggie","Part":"Bank"}},
"260":{
"Length":3,"Format":"NumericLE","SubFormat":"Symbol","SymbolRef":{
"Label":"start","Part":"Bank"}},
"263":{
"Length":3,"Format":"NumericLE","SubFormat":"Decimal","SymbolRef":null},
"266":{
"Length":3,"Format":"NumericLE","SubFormat":"Binary","SymbolRef":null},
"269":{
"Length":3,"Format":"NumericLE","SubFormat":"Symbol","SymbolRef":{
"Label":"skipdata","Part":"Low"}},
"301":{
"Length":3,"Format":"NumericLE","SubFormat":"Symbol","SymbolRef":{
"Label":"targ","Part":"Low"}},
"307":{
"Length":3,"Format":"NumericLE","SubFormat":"Symbol","SymbolRef":{
"Label":"targ","Part":"Low"}},
"310":{
"Length":3,"Format":"NumericLE","SubFormat":"Symbol","SymbolRef":{
"Label":"targ","Part":"Low"}},
"316":{
"Length":3,"Format":"NumericLE","SubFormat":"Symbol","SymbolRef":{
"Label":"targ","Part":"Low"}},
"319":{
"Length":2,"Format":"NumericLE","SubFormat":"Symbol","SymbolRef":{
"Label":"targ","Part":"Low"}},
"323":{
"Length":2,"Format":"NumericLE","SubFormat":"Symbol","SymbolRef":{
"Label":"targ","Part":"Low"}},
"325":{
"Length":3,"Format":"NumericLE","SubFormat":"Symbol","SymbolRef":{
"Label":"targ","Part":"Low"}},
"331":{
"Length":3,"Format":"NumericLE","SubFormat":"Symbol","SymbolRef":{
"Label":"targ","Part":"Low"}},
"334":{
"Length":3,"Format":"NumericLE","SubFormat":"Symbol","SymbolRef":{
"Label":"targ","Part":"Low"}},
"340":{
"Length":3,"Format":"NumericLE","SubFormat":"Symbol","SymbolRef":{
"Label":"targ","Part":"Low"}},
"343":{
"Length":4,"Format":"NumericLE","SubFormat":"Symbol","SymbolRef":{
"Label":"targ","Part":"Low"}},
"351":{
"Length":4,"Format":"NumericLE","SubFormat":"Symbol","SymbolRef":{
"Label":"targ","Part":"Low"}},
"388":{
"Length":3,"Format":"NumericLE","SubFormat":"Symbol","SymbolRef":{
"Label":"badmidi","Part":"Low"}},
"391":{
"Length":3,"Format":"NumericLE","SubFormat":"Symbol","SymbolRef":{
"Label":"badmid","Part":"Low"}},
"397":{
"Length":112,"Format":"Dense","SubFormat":"None","SymbolRef":null},
"677":{
"Length":2,"Format":"NumericLE","SubFormat":"Symbol","SymbolRef":{
"Label":"thirty2","Part":"Low"}},
"679":{
"Length":2,"Format":"NumericLE","SubFormat":"Symbol","SymbolRef":{
"Label":"thirty2","Part":"High"}},
"681":{
"Length":2,"Format":"NumericLE","SubFormat":"Symbol","SymbolRef":{
"Label":"thirty2","Part":"Bank"}},
"685":{
"Length":3,"Format":"NumericLE","SubFormat":"Symbol","SymbolRef":{
"Label":"thirty2","Part":"Low"}},
"688":{
"Length":3,"Format":"NumericLE","SubFormat":"Symbol","SymbolRef":{
"Label":"thirty2","Part":"High"}},
"691":{
"Length":3,"Format":"NumericLE","SubFormat":"Symbol","SymbolRef":{
"Label":"thirty2","Part":"Bank"}}}}