|
Subject: [stella] X or Y ? From: happy_dude@xxxxxxxxxxxxx Date: Thu, 15 Apr 2004 20:26:36 +1000 |
I had a lot of code like this in Master Mind deluxe
ldy #4
load_1
lda r1peg1,y
sta Dpeg1,y
dey
bpl load_1
I changed it all to this and saved a lot of rom
ldx #4
load_1
lda r1peg1,x
sta Dpeg1,x
dex
bpl load_1
Why?
I'v read through the 6502 documentation and can't see any rason why.
----------------------------------------------------------------------------------------------
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] A tiny tip, Thomas Jentzsch | Thread | Aw: [stella] X or Y ?, cybergoth |
| Re: [stella] A tiny tip, Thomas Jentzsch | Date | Aw: [stella] X or Y ?, cybergoth |
| Month |