Subject: RE: Aw: [stella] X or Y ? From: "Erik Mooney" <erik@xxxxxxxxxx> Date: Thu, 15 Apr 2004 10:01:32 -0500 |
cybergoth@xxxxxxxx wrote: > There's no "absolute zeropage" adressing mode to some instructions using Y, so the code rendered in those cases will force an absolute 16-Bit adressing padded with "00" for the HI-Byte and so wasting an extra byte. Actually, the _only_ instructions that can do an 8-bit zeropage address with a Y index, are LDX and STX. Everything else always uses a 16-bit address if indexing with Y (DASM will silently do that for you.) It takes the same 4 cycles in either mode, so it doesn't matter except for the one extra byte of ROM. ---------------------------------------------------------------------------------------------- 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: Aw: [stella] X or Y ?, happy_dude | Thread | Re: Aw: [stella] X or Y ?, Eric Ball |
Re: Aw: [stella] X or Y ?, happy_dude | Date | Re: [stella] minor 2600 Cookbook Up, happy_dude |
Month |