dclxvi wrote:
[65C02] NOPs can also be used for this purpose
True, and no processor status flags are affected. Just bear in mind that one important issue (first mentioned on page 1 of this thread) remains: the danger of a Destructive Read -- an inadvertent access to an IO device.
65C02 "NOPs" include several Read operations for which the fetched data is ignored
by the CPU. But the transaction is 100% genuine as far as the external bus is concerned, and therefore the danger remains. Interestingly, the new NOPs on the 'C02 employ
Immediate,
Absolute,
Z-Pg and
Z-Pg,X address modes, as explained
here.
Use of 65C02 NOP's for our skip-a-byte trick is therefore restricted -- not only to 65C02 systems, but also to systems which don't have read-sensitive IO registers mapped to any of the addresses which may be affected.
-- Jeff