mirror of
https://github.com/fadden/6502bench.git
synced 2025-09-25 21:16:52 +00:00
Exercise address-to-offset function in plugin
Also exercise various formatting options. Also, fix a bug where the code that applies project/platform symbols to numeric references was ignoring inline data items.
This commit is contained in:
@@ -1188,8 +1188,8 @@ namespace SourceGen {
|
||||
// the correct thing to do.
|
||||
address = attr.OperandAddress;
|
||||
sym = SymbolTable.FindNonVariableByAddress(address);
|
||||
} else if (attr.IsDataStart && attr.DataDescriptor != null &&
|
||||
attr.DataDescriptor.IsNumeric &&
|
||||
} else if ((attr.IsDataStart || attr.IsInlineDataStart) &&
|
||||
attr.DataDescriptor != null && attr.DataDescriptor.IsNumeric &&
|
||||
attr.DataDescriptor.FormatSubType == FormatDescriptor.SubType.Address) {
|
||||
// Found a Numeric/Address item that matches. Data items don't have
|
||||
// OperandAddress or OperandOffset set, so we need to check manually to
|
||||
|
Reference in New Issue
Block a user