mirror of
https://github.com/fadden/6502bench.git
synced 2024-10-09 07:54:42 +00:00
dfd5bcab1b
Early data sheets listed BRK as one byte, but RTI after a BRK skips the following byte, effectively making BRK a 2-byte instruction. Sometimes, such as when diassembling Apple /// SOS code, it's handy to treat it that way explicitly. This change makes two-byte BRKs optional, controlled by a checkbox in the project settings. In the system definitions it defaults to true for Apple ///, false for all others. ACME doesn't allow BRK to have an arg, and cc65 only allows it for 65816 code (?), so it's emitted as a hex blob for those assemblers. Anyone wishing to target those assemblers should stick to 1-byte mode. Extension scripts have to switch between formatting one byte of inline data and formatting an instruction with a one-byte operand. A helper function has been added to the plugin Util class. To get some regression test coverage, 2022-extension-scripts has been configured to use two-byte BRK. Also, added/corrected some SOS constants. See also issue #44. |
||
---|---|---|
.. | ||
AboutBox.xaml | ||
AboutBox.xaml.cs | ||
CodeListItemStyle.xaml | ||
DataFileLoadIssue.xaml | ||
DataFileLoadIssue.xaml.cs | ||
DiscardChanges.xaml | ||
DiscardChanges.xaml.cs | ||
EditAddress.xaml | ||
EditAddress.xaml.cs | ||
EditAppSettings.xaml | ||
EditAppSettings.xaml.cs | ||
EditComment.xaml | ||
EditComment.xaml.cs | ||
EditDataOperand.xaml | ||
EditDataOperand.xaml.cs | ||
EditDefSymbol.xaml | ||
EditDefSymbol.xaml.cs | ||
EditInstructionOperand.xaml | ||
EditInstructionOperand.xaml.cs | ||
EditLabel.xaml | ||
EditLabel.xaml.cs | ||
EditLocalVariableTable.xaml | ||
EditLocalVariableTable.xaml.cs | ||
EditLongComment.xaml | ||
EditLongComment.xaml.cs | ||
EditLvTableLocation.xaml | ||
EditLvTableLocation.xaml.cs | ||
EditNote.xaml | ||
EditNote.xaml.cs | ||
EditProjectProperties.xaml | ||
EditProjectProperties.xaml.cs | ||
EditStatusFlags.xaml | ||
EditStatusFlags.xaml.cs | ||
Export.xaml | ||
Export.xaml.cs | ||
FindBox.xaml | ||
FindBox.xaml.cs | ||
FontPicker.xaml | ||
FontPicker.xaml.cs | ||
FormatAddressTable.xaml | ||
FormatAddressTable.xaml.cs | ||
GotoBox.xaml | ||
GotoBox.xaml.cs | ||
MainWindow.xaml | ||
MainWindow.xaml.cs | ||
NewProject.xaml | ||
NewProject.xaml.cs | ||
ProjectLoadIssues.xaml | ||
ProjectLoadIssues.xaml.cs |