BigDumbDinosaur wrote:
There are no single cycle instructions in the W65C02S and W65C816S.
BDD, we seem to have contradicted one another in regard to the W65C02S. Probably you meant no discourtesy, but you do seem to have a penchant for presenting your inferences as fact.
Of course, even the suspicion I presented ought to be supported, and I apologize. I've now located the reference that eluded my memory earlier. It is WDC's own data sheet for the W65C02S, and the second row of Table 7-1 describes Execution of invalid OpCodes.
- listed as 2 byte, 2 cycle are 02,22,42,62,82,C2, E2
- listed as 1 byte, 1 cycle are X3,OB-BB,EB,FB
- listed as 2 byte, 3 cycle is 44
- listed as 2 byte, 4 cycle are 54,D4,F4
- listed as 3 byte, 8 cycle is 5C
- listed as 3 byte, 4 cycle are DC,FC
Folks who find such minutia interesting may wish to visit
this page of my site. I've documented not just the bytes and cycles, but also what the undefined NOP's actually
do (on the Rockwell 'C02). Edit: later tests show that WDC's W65C02S cpu behaves identically except that it features WAI and STP, thus reducing the number of undefined NOP's by two.
Something I'd like to know is whether the one byte, one cycle NOP's delay interrupt acceptance. Edit: they do. Interrupts will not be recognized while a one-cycle NOP (or a string of such NOP's) is executing. Interrupts are recognized on the first non-one-cycle instruction that follows. More info
here.
-- Jeff
[Edit]: Rockwell '
C02 -- not '02.
[Edit]: fix link. WDC cpu. Interrupt acceptance update.
_________________
In 1988 my 65C02 got six new registers and 44 new full-speed instructions!
https://laughtonelectronics.com/Arcana/ ... mmary.html