Subject: [stella] A tiny tip From: Erik Mooney <erik@xxxxxxxxxx> Date: Thu, 15 Apr 2004 01:22:51 -0400 |
Not sure if this has come up here before, but I just discovered it. To waste an odd number of cycles, we usually use the unofficial instruction NOP $00. Exactly the same effect (3 cycle delay, no registers or flags affected) can be achieved legally (using one more byte of ROM) by doing: JMP *+3 ---------------------------------------------------------------------------------------------- Archives (includes files) at http://www.biglist.com/lists/stella/archives/ Unsub & more at http://www.biglist.com/lists/stella/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [stella] minor 2600 Cookbook Up, KirkIsrael | Thread | Re: [stella] A tiny tip, Paul Slocum |
[stella] Re: 2600Cookbook - exact h, Eric Ball | Date | Re: [stella] A tiny tip, Paul Slocum |
Month |