Re: Illegal opcodes (was Re: [stella] Reading Paddles?)

Subject: Re: Illegal opcodes (was Re: [stella] Reading Paddles?)
From: Thomas Jentzsch <tjentzsch@xxxxxx>
Date: Mon, 13 Jan 2003 21:15:45 +0100
Dennis Debro wrote:
> In your source you have a cycle count of -1 for $0C???? I don't
> understand this. Doesn't $0C take 4 cycles to execute?

That's because the next instruction (which is masked by $0c) takes 5
cycles. $0c needs only 4 cycles, so -1 + 5 = 4. :-) 

It just makes it easier to calculate the total number of cycles.

Have fun!
Thomas                            
_______________________________________________________
Thomas Jentzsch         | *** Every bit is sacred ! ***
tjentzsch at web dot de |

----------------------------------------------------------------------------------------------
Archives (includes files) at http://www.biglist.com/lists/stella/archives/
Unsub & more at http://www.biglist.com/lists/stella/


Current Thread