Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This adds support for the WDC 65c02, Rockwell 65c02, and WDC 65c02s instruction sets. The default processor is still 6502 so there shouldn't be any effect on existing code [other than the
__processor__
symbol). The instruction set is selected via-P
processor, where processor is6502
,65C02
,65C02R
or65C02S
(case insensitive). The__processor__
define is also set to the processor type. (eg,mif (strcmp(__processor__ , "6502") == 0) { ... } melse { ... }
The rockwell bit ops use 2 and 3 operands, eg,
bbs 0,1,label
orsmb 0,7
instead of including the bit as part of the opcode (bbs0 1,label
,smb0 7
).