XC - ksherlock/merlin-wiki GitHub Wiki
XC - Extended 65C02, 65802, and 65816 opcodes
XC ; Enable 65C02 instructions
XC (second time) ; Enable 65802/65816 instructions
XC OFF ; Merlin 16+ only
Note: On Merlin 8, if XC
is used at the beginning of a listing, the 65C02 opcodes are enabled. If XC
is used twice, that is, if it is used on the first two lines of the listing, the 65802/65816 codes can also be assembled.
On Merlin 8, some of the 65802 long addressing codes are not enabled since they have no application on the 65802. In Merlin 16, all 65816 opcodes are enabled. With Merlin 16, you will not have to use the XC pseudo-ops unless you have altered the PARMS file to require their use.
XC OFF
(Merlin 16+) will reset extended code support, i.e., only 6502 codes will be accepted.
Compatibility
- Added in Merlin Pro (excluding Merlin-128)
XC OFF
was added in Merlin 16+